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
Calling a non-existent variable seems not throw any ErrorException.
{{ $non_existent }}
It just silently running without a thing. Interesting enough, that every non-existent variable got default value of null.
null
@if ($non_existent == null) <div>It does exist, but null</div> @endif
Should it be throw an ErrorException? or is it excpected behaviour?
The text was updated successfully, but these errors were encountered:
Hi @adakbar, this sounds like your PHP environment is configured to ignore notices. Can you try increasing the error_reporting level:
# Report all PHP errors error_reporting(-1);
That should raise an E_NOTICE, if you want it to throw an exception you could use set_error_handler()
E_NOTICE
Sorry, something went wrong.
Gosh, stupid me. Thanks by the way.
No branches or pull requests
Calling a non-existent variable seems not throw any ErrorException.
It just silently running without a thing. Interesting enough, that every non-existent variable got default value of
null
.Should it be throw an ErrorException? or is it excpected behaviour?
The text was updated successfully, but these errors were encountered: