|
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-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jan 01 03:00:01 2026 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"