We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$believable = 'false'; $myth = 'The moon is made of green cheese'; $calc = 10**3+1; if ($believable) { echo $myth; } else { echo $calc; }
Explanation : 'false' evaluates to true since it is a string so the if condition is met.
The text was updated successfully, but these errors were encountered:
solved #6948
Sorry, something went wrong.
No branches or pull requests
Question. What is the output of this script?
Explanation : 'false' evaluates to true since it is a string so the if condition is met.
The text was updated successfully, but these errors were encountered: