3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input_arr= array( 0=>array(india0,srilanka1,pakistan0,banglades0), 1=>array(india1,srilanka1,pakistan1,bangladesh1), 2=>array(india2,srilanka2,pakistan2,bangladesh2), 3=>array(india3,srilanka3,pakistan3,bangladesh3), 4=>array(india4,srilanka4,pakistan4,bangladesh4), 5=>array(india5,srilanka5,pakistan5,bangladesh5), ); for($i=0;$i<sizeof($input_arr);$i++;) { if(in_array("searchstring",$input_arr[$i])) if(in_array("searchstring2",$input_arr[$i])) echo $input_arr[$i]; }
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected ';', expecting ')' in /in/TWS8v on line 11
Process exited with code 255.