#26541 [NEW]: a

From: Date: Sat, 06 Dec 2003 14:35:06 +0000
Subject: #26541 [NEW]: a
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-51749@lists.php.net to get a copy of this message
From: diogo at netmake dot com dot br Operating system: Windows 2000/Linux PHP version: 4.3.3 PHP Bug Type: Class/Object related Bug description: a Description: ------------ i cant call a method(function) inside the function empty Reproduce code: --------------- if(!empty($this->GetOpen())) { ... ... ... } . . . function GetAbrir() { return $this->abrir; } Expected result: ---------------- i expected that the if return true or false. error: Parse error: parse error, unexpected '(', expecting ')' in C:\Inetpub\wwwroot\scriptcase2\devel\class\page\nmPageWizardForm.class.php on line 125 and the variable abrir is empty initialized in the constructor of the class Actual result: -------------- a -- Edit bug report at http://bugs.php.net/?id=26541&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26541&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26541&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26541&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26541&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26541&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26541&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26541&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26541&r=support Expected behavior: http://bugs.php.net/fix.php?id=26541&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26541&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26541&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26541&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26541&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26541&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26541&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26541&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26541&r=float

« previous php.bugs (#51749) next »