You can still use constructors that have the same name as the class, at least for the time being. Just tested it with 4.4.0-dev HEAD and ZE2. If you have both a method with the same name as the class and a method called __construct(), the method with the class name will be used as the constructor and __construct() won't be used at all.
J Brian Moon wrote: > From what I understand, all OO code will have to be modified for PHP5. > Constructors for example and no longer named the same as the class name. > That alone means every class must be changed. I don't recall anyone > saying it would be BC either, but I could be wrong. > > Brian Moon > ------------- > dealnews.com > ------------- > phorum.org > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php