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