So whats so good about __construct()?
View Single Post
11-20-2007, 01:03 AM
Join Date: Nov 2007
Location: according to my wife: on the Net
The reason the class-name-function was replaced by __construct() is to be more a genuine OOP language. For backwards compatibility they left the old-style in PHP 5.
I believe the class-name-function is removed from PHP 6.
More info about it on
View Public Profile
Send a private message to DragonBe
Visit DragonBe's homepage!
Find More Posts by DragonBe