ID: 38101 Updated by: [EMAIL PROTECTED] Reported By: nimce4u at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues -Operating System: Windows XP Pro +Operating System: * -PHP Version: 5.1.4 +PHP Version: * New Comment:
[EMAIL PROTECTED] /usr/src/php-cvs $ php -r 'print $x;' make: `sapi/cli/php' is up to date. Notice: Undefined variable: x in Command line code on line 1 Previous Comments: ------------------------------------------------------------------------ [2006-07-14 07:01:51] nimce4u at gmail dot com Description: ------------ When I print a variable who I DIDN'T defind before I DON'T get an error!!! It will help me if I'll get an error when I didn't defind a variable and then wanted it's value... Thank you! Reproduce code: --------------- <?php print $var; ?> Expected result: ---------------- WARNING/ERROR because I didn't defind this variable... Actual result: -------------- Nothing... It printed nothing! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38101&edit=1