PHP 4.0 Bug #9092: variables-by-references in class constructor not working

From: Date: Sat, 03 Feb 2001 22:53:52 +0000
Subject: PHP 4.0 Bug #9092: variables-by-references in class constructor not working
Groups: php.dev 
Request: Send a blank email to php-dev+get-45690@lists.php.net to get a copy of this message
From: t.stinner@billiton.de 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

« previous php.dev (#45690) next »