3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $handle = "Helicopters will patrol the temporary no-fly zone around New Jersey's MetLife Stadium Sunday, with F-16s based in Atlantic City ready to be scrambled if an unauthorized aircraft does enter the restricted"; $array = str_word_count($handle,1); for($x=0;$x<count($array);$x++) {  if(ctype_upper($array[$x][0]) && strlen($array[$x])>3){  $find= file_get_contents('http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles='.$array[$x].' &rvprop=timestamp'); $miss = "missing"; if(strpos($find,$miss) !== False){ echo $array[$x]; echo "<br>"; }   } }?>
Output for 5.4.0 - 5.4.32
Parse error: syntax error, unexpected '$array' (T_VARIABLE) in /in/cIV1A on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE in /in/cIV1A on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_VARIABLE in /in/cIV1A on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/cIV1A on line 2
Process exited with code 255.