3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_meta = array ( 'interest' => array ( '0' => ''), 'type' => array ( '0' => ''), 'user_status' => array ( '0' => 'deny'), 'firstname' => array ( '0' => ''),'lastname' => array ( '0' => 'B' ) , 'email' => 'email@cc.com' ); $user_meta = (object)$user_meta; $names = array_map( function($person) { return $person[0]; }, (array)$user_meta ); print_r($names);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [interest] => [type] => [user_status] => deny [firstname] => [lastname] => B [email] => e )

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