From:             [EMAIL PROTECTED]
Operating system: Linux 2.2.16
PHP version:      4.0.4pl1
PHP Bug Type:     Class/Object related
Bug description:  variables-by-references in class constructor not working

This code snippet:

class test {
      function test(&$test1=false) {
      }
} 

gives me 

Parse error - parse error, expecting `')''

on the line with the constructor (function ...)

shouldn't this work (or at least return a useful error)?




-- 
Edit Bug report at: http://bugs.php.net/?id=9092&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to