isGreat("PHP Rocks!!")); foreach (test(1,2) as $gen) continue; echo "it works!\n"; if (isset($dump)) var_dump($_SERVER); function phpdbg_test_ob() { echo 'Start'; ob_start(); echo 'Hello'; $b = ob_get_clean(); echo 'End'; echo $b; } $array = [ 1, 2, [3, 4], [5, 6], ]; $array[] = 7; array_walk($array, function (&$item) { if (is_array($item)) $item[0] += 2; else $item -= 1; }); $obj = (object)["a" => 2, "b" => 5, "c" => 7]; $test = $obj->a; $obj->a += 2; $test -= 2; unset($obj);