|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-04-01 13:42 UTC] nikic@php.net
-Status: Open
+Status: Not a bug
[2014-04-01 13:42 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 05:00:01 2025 UTC |
Description: ------------ The script below illustrates the issue. Test script: --------------- <?php DEFINE('FOO', false); if (@BAR) { echo "this is wrong."; } else { echo "this is correct."; } if (@FOO) { echo "this is wrong."; } else { echo "this is correct."; } var_dump(@BAR); Expected result: ---------------- this is correct.this is correct.NULL Actual result: -------------- this is wrong.this is correct.string(3) "BAR"