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" ); for($i = 0; $i < count($a); $i++){ if($count($a) > $i) if(array_search($a[$i+1],$a) == "address_country") echo "found"; }

preferences:
34.98 ms | 402 KiB | 5 Q