PHP - Variables and Data Types
What is the issue with this PHP code snippet?
$val = '456xyz';
if ($val === 456) {
echo 'Match';
} else {
echo 'No match';
}
$val = '456xyz';
if ($val === 456) {
echo 'Match';
} else {
echo 'No match';
}
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions