ID: 21693 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Windows XP PHP Version: 4.2.3 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 read the docs about @ http://php.net/empty : "Note that this is meaningless when used on anything which isn't a variable; i.e. empty (addslashes ($name)) has no meaning since it would be checking whether something which isn't a variable is a variable with a FALSE value." Previous Comments: ------------------------------------------------------------------------ [2003-01-16 13:24:06] [EMAIL PROTECTED] if( empty(realpath(__FILE__)) ) echo "test"; will produce a parse error like: Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in d:\wwwroot\test3.php on line x ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21693&edit=1