3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( array( 'firstname' => 'Bob', 'lastname' => 'Tomato' ), array( 'firstname' => 'Larry', 'lastname' => 'Cucumber'r ) ); print_r(array_column($arr,"lastname","firstname"));
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'r' (T_STRING), expecting ')' in /in/J4u4k on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/J4u4k on line 9
Process exited with code 255.