ID: 36097 Updated by: [EMAIL PROTECTED] Reported By: php at samokhvalov dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux Fedora4, Windows 2003 PHP Version: 5.1.2 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2006-01-20 11:04:44] php at samokhvalov dot com Description: ------------ Just look at the examples... Reproduce code: --------------- $var = "test"; if ($var["field"]) { echo "suprise!"; } or $var = "test"; if (isset($var["field"])) { echo "suprise!"; } Expected result: ---------------- No output Actual result: -------------- "suprise!" being printed as a result in both cases ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36097&edit=1