<?php
);
function delete_row(&$array, $offset) {
}
function delete_col(&$array, $offset) {
return array_walk($array, function (&$v) use ($offset) { });
}
delete_row($array, 1);
delete_col($array, 1);
PD9waHAKCiRhcnJheSA9IGFycmF5KAogICAgYXJyYXkoJzEnLCAnMCcsICcxJyksCiAgICBhcnJheSgnMCcsICcwJywgJzAnKSwKICAgIGFycmF5KCcxJywgJzAnLCAnMScpLAopOwoKZnVuY3Rpb24gZGVsZXRlX3JvdygmJGFycmF5LCAkb2Zmc2V0KSB7CiAgICByZXR1cm4gYXJyYXlfc3BsaWNlKCRhcnJheSwgJG9mZnNldCwgMSk7Cn0KCmZ1bmN0aW9uIGRlbGV0ZV9jb2woJiRhcnJheSwgJG9mZnNldCkgewogICAgcmV0dXJuIGFycmF5X3dhbGsoJGFycmF5LCBmdW5jdGlvbiAoJiR2KSB1c2UgKCRvZmZzZXQpIHsKICAgICAgICBhcnJheV9zcGxpY2UoJHYsICRvZmZzZXQsIDEpOwogICAgfSk7Cn0KCnByaW50X3IoJGFycmF5KTsKCmRlbGV0ZV9yb3coJGFycmF5LCAxKTsKZGVsZXRlX2NvbCgkYXJyYXksIDEpOwoKcHJpbnRfcigkYXJyYXkpOw==