ID: 9092 Updated by: andre Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Class/Object related Assigned To: Comments: covered by 6343 Previous Comments: --------------------------------------------------------------------------- [2001-02-03 19:00:05] [EMAIL PROTECTED] hmm, i see your point. is it possible to define a value that should be passwd by reference as optional? --------------------------------------------------------------------------- [2001-02-03 18:09:28] [EMAIL PROTECTED] This should not work - how can you pass a literal value by reference? However, you are right about the error message - it does seem to be incorrect. --------------------------------------------------------------------------- [2001-02-03 17:53:52] [EMAIL PROTECTED] 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)? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9092&edit=2 -- 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]