11-20-2007, 01:03 AM
|
#10 (permalink)
|
|
The Wanderer
Join Date: Nov 2007
Location: according to my wife: on the Net
Posts: 19
Thanks: 0
|
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
|
|
|