3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userInfo = array("1" => "1"); function isNull($id, $userInfo){  if (1 == 0){  $res = "Не указано";  } } ?>
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected 'if' (T_IF) in /in/IjD7e on line 4
Process exited with code 255.

preferences:
173.27 ms | 1395 KiB | 36 Q