3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $results = array('hi', 'hello', 'there') array_walk($result, function($row) { printf('%s ', $row[0]); $index = $row[0]; $table_array[$index] = array(); }, &$table_array);
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'array_walk' (T_STRING) in /in/MiN3d on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/MiN3d on line 3
Process exited with code 255.