3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userdb = Array ( '0' => Array ( 'uid' => Array ( '0' => Array ( '10770' ), '1' => Array ( '523465' ), '2' => Array ( '4042389' ) ), 'name' => 'Sandra Shush', 'url' => 'urlof100' ), '1' => Array ( 'uid' => Array ( '0' => Array ( '102320' ), '1' => Array ( '532465' ), '2' => Array ( '40432389' ) ), 'name' => 'Stefanie Mcmohn', 'pic_square' => 'urlof100' )); $key = '102320'; foreach($userdb as $user){ foreach($user['uid'] as $id){ if($id[0] == $key) { echo "Match found--->".$key; } } }
Output for git.master, git.master_jit, rfc.property-hooks
Match found--->102320

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.31 ms | 405 KiB | 5 Q