ID:               20373
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: Linux
 PHP Version:      4CVS-2002-11-11
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2002-11-11 17:35:47] [EMAIL PROTECTED]

The following script produces a "Parse error, unexpected 
T_OBJECT_OPERATOR in ..." message: 
 
class A {} 
 
class B { 
    var $name = "A"; 
         
    function test() { 
        new $this->name; 
    } 
} 
 
The following change will succeed: 
- new $this->name; 
+ $tmp = $this->name; 
+ new $tmp; 
 

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20373&edit=1

Reply via email to