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; }); class testClass { public $a = 2; protected $b = [1, 3]; private $c = 7; } $obj = new testClass; $test = $obj->a; $obj->a += 2; $test -= 2; unset($obj);