View Single Post
Old 11-20-2007, 01:03 AM   #10 (permalink)
DragonBe
The Wanderer
PHP Guru Advanced Programmer Zend Certified 
 
DragonBe's Avatar
 
Join Date: Nov 2007
Location: according to my wife: on the Net
Posts: 19
Thanks: 0
DragonBe is on a distinguished road
Default

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 http://www.php.net/manual/en/language.oop5.decon.php
Send a message via ICQ to DragonBe Send a message via Skype™ to DragonBe
DragonBe is offline  
Reply With Quote