[PHP-DEV] Bug #671 Updated: new constructor feature break objects? From: Bug Database (php-dev <email protected>)
Date: 08/22/98

ID: 671
Updated by: rasmus
Reported By: chrism <email protected>
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:

Yes, you were unlucky. A method with the same name as the class is a constructor. If that's not what you want, you should change the name of your method.

Full Bug description available at: http://ca.php.net/bugs.php3?id=671

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>