--TEST-- PHP Spec test generated from ./statements/expression_statement.php --FILE-- 0) { ; // null statement } $i = 10; while ($i-- > 0) { continue; // in this context, equivalent to using a null statement } $table = array(); $table[0][0] = 34; $table[0][1] = -3; $table[0][2] = 345; $table[1][0] = 123; $table[1][1] = 9854; $table[1][2] = -765; function findValue($table, $v) // where $table is 2x3 array { for ($row = 0; $row <= 1; ++$row) { for ($colm = 0; $colm <= 2; ++$colm) { if ($table[$row][$colm] == $v) { echo "$v was found at row $row, column $colm\n"; goto done; // not quite the same as break 2! } } } echo "$v was not found\n"; done: ; // note that a label must always precede a statement } findValue($table, 123); findValue($table, -23); --EXPECT-- 123 was found at row 1, column 0 -23 was not found