<?php
function foo() {
  $persons = 2;
  for ($i=0; $i<$persons; $i++) {
    $children = 2;
  }
}
foo();
echo "ok\n";
?>