3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( "0" => "", "address_country" => "", "1" => "2011-11-29 14:49:10", "createdtime" => "2011-11-29 14:49:10" ); $c = array_values($a); for($i = 0; $i < count($c); $i++){ if(count($c) > $i) if(array_search($a[$i+1],$c) == "address_country") echo "found"; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key 2 in /in/icA49 on line 11 Warning: Undefined array key 3 in /in/icA49 on line 11 Warning: Undefined array key 4 in /in/icA49 on line 11

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