3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(array_column( array( 0 => array('test' => 1, 'test2' => 2), 1 => array('test' => 44, 'test2' => 22), 2 => array('test' => 51, 'test2' => 21), ), 'test' ));
based on kf8mu
Output for 5.5.24 - 7.2.0
Array ( [0] => 1 [1] => 44 [2] => 51 )
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function array_column() in /in/JpnFY on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_column() in /in/JpnFY on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_column() in /in/JpnFY on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_column() in /in/JpnFY on line 2