#21693 [NEW]: Combination of empty and realpath produces an error

From: Date: Thu, 16 Jan 2003 19:24:06 +0000
Subject: #21693 [NEW]: Combination of empty and realpath produces an error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30281@lists.php.net to get a copy of this message
From: MDEnigma@gmx.de Operating system: Windows XP PHP version: 4.2.3 PHP Bug Type: Compile Failure Bug description: Combination of empty and realpath produces an error 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 bug report at http://bugs.php.net/?id=21693&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21693&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21693&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21693&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21693&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21693&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21693&r=support Expected behavior: http://bugs.php.net/fix.php?id=21693&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21693&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21693&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21693&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21693&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21693&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21693&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21693&r=gnused

« previous php.bugs (#30281) next »