3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array=Array ( [01] => Array ( [facebook] => 375, [twitter] => 3276, [email] => 3276 ) [02] => Array ( [facebook] => 385, [twitter] => 3326, [email] => 3326 ) [03] => Array ( [facebook] => 391, [twitter] => 3327, [email] => 3327 ) [04] => Array ( [facebook] => 446, [twitter] => 3327, [email] => 3327 ) [05] => Array ( [facebook] => 486, [twitter] => 3334, [email] => 3334 ) [06] => Array ( [facebook] => 2, [twitter] => 6, [email] => 6 ) [07] => Array ( [facebook] => 1, [twitter] => 7, [email] => 7 ) [08] => Array ( [facebook] => 3, [twitter] => 11, [email] => 11 ) [09] => Array ( [facebook] => 0, [twitter] => 0, [email] => 0 ) [10] => Array ( [facebook] => 0, [twitter] => 0, [email] => 0 ) [11] => Array ( [facebook] => 0, [twitter] => 0, [email] => 0 ) [12] => Array ( [facebook] => 0, [twitter] => 0, [email] => 0 ) ); print_r($array); die(); array_column($records, 'first_name');
Output for 5.5.0 - 5.5.1
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')' in /in/78hX5 on line 12
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '[', expecting ')' in /in/78hX5 on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected '[', expecting ')' in /in/78hX5 on line 5
Process exited with code 255.