3v4l.org

run code in 300+ PHP versions simultaneously
<?php $records = array( array( 'id' => 2135, 'extra' => array( 'jelou' => 'hi', 'first_name' => 'Albert' ), ), array( 'id' => 2145, 'extra' => array( 'jelou' => 'hio', 'first_name' => 'Alberto' ), ), array( 'id' => 2155, 'extra' => array( 'jelou' => 'hia', 'first_name' => 'Alberta' ), ) ); $first_names = array_column($records, 'jelou'); print_r($first_names);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( )

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:
45.23 ms | 401 KiB | 8 Q