3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( 0 => array('id' => 241328, 'name' => 'Fedor'), 1 => array('id' => 243265, 'name' => 'Harry'), 2 => array('id' => 248979, 'name' => 'Robby'), 3 => array('id' => 254321, 'name' => 'Johnny'), 4 => array('id' => 284313, 'name' => 'Rossomaha'), ); var_dump(array_column(&$arr, 'name'));
Output for 5.4.0 - 5.4.30
Fatal error: Call-time pass-by-reference has been removed in /in/dG1sS on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Deprecated: Call-time pass-by-reference has been deprecated in /in/dG1sS on line 10 Fatal error: Call to undefined function array_column() in /in/dG1sS on line 10
Process exited with code 255.