3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = [ ['id' => 10, 'value' => 100, 'name' => 'hoge'], ['id' => 20, 'value' => 200, 'name' => 'fuga'], ['id' => 30, 'value' => 300, 'name' => 'fizz'], ]; var_dump(array_column($array, 'value', 'id', 'name'));
based on 0KZKG
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
Warning: array_column() expects at most 3 parameters, 4 given in /in/gfMqj on line 10 NULL