ID: 24151 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: windows xp pro PHP Version: 4.3.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php No bug Previous Comments: ------------------------------------------------------------------------ [2003-06-12 09:39:51] [EMAIL PROTECTED] Description: ------------ When I write two methods in a class, the interpreter emits an error. The error says that the program cannot redeclare the method. Reproduce code: --------------- <?php class Foo { var $_foo; function Foo(){} function Foo( $foo ){ $this->_foo = $foo; } } ?> Expected result: ---------------- I expect use the two methods. When it will be convenient. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24151&edit=1