3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 0 => array('id' => 241328, 'name' => 'Fedor'), 1 => array('id' => 243265, 'name' => 'Harry'), 2 => array('id' => 248979, 'name' => 'Robby'), 3 => array('id' => 254321, 'name' => 'Johnny'), 4 => array('id' => 284313, 'name' => 'Rossomaha'), ); var_dump(array_column('name', $arr));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: array_column(): Argument #1 ($array) must be of type array, string given in /in/6QF1t:10 Stack trace: #0 /in/6QF1t(10): array_column('name', Array) #1 {main} thrown in /in/6QF1t on line 10
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36.14 ms | 401 KiB | 8 Q