3v4l.org

run code in 300+ PHP versions simultaneously
<?php $samples=array( array('page' => 'page1', 'name' => 'pagename1'), array('page' => 'page2', 'name' => 'pagename2'), array('page' => 'page3', 'name' => 'pagename3') ); $names = array_column($samples, ); print_r($names);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: array_column() expects at least 2 arguments, 1 given in /in/WXmXZ:7 Stack trace: #0 /in/WXmXZ(7): array_column(Array) #1 {main} thrown in /in/WXmXZ on line 7
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:
61.28 ms | 401 KiB | 8 Q