PHP - Variables and Data Types
Identify the error in this PHP code snippet:
$var = null
if ($var === null) {
echo 'Null value';
}
$var = null
if ($var === null) {
echo 'Null value';
}
$var = null is missing a semicolon at the end, which is required in PHP.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions