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