3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [['prize' => 1000, 'position' => 1], ['position' => 2, 'prize' => 'entry ticket']]; var_dump(array_column($a));
Output for 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.30 - 7.3.0beta1
Warning: array_column() expects at least 2 parameters, 1 given in /in/qQQMs on line 5 NULL
Output for hhvm-3.22.0
Warning: array_column() expects at least 2 parameters, 1 given in /in/qQQMs on line -1 NULL