3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $table_array = array(); $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
Fatal error: Call-time pass-by-reference has been removed in /in/84nKc on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/84nKc on line 8 Warning: array_walk() expects parameter 1 to be array, null given in /in/84nKc on line 8