3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(array('id' => 23, 'first_name' => 'John')); print_r(array_column($a, 'first_name', 'id'));

preferences:
36.2 ms | 402 KiB | 5 Q