2008/10/23 Alain Roger <[EMAIL PROTECTED]>: > is it possible to overload the class construct(or) ? > if yes, how ?
class A { function __construct() { echo "A"; } } class B extends A { function __construct() { echo "B"; parent::__construct(); } } $B = new B(); -- http://www.otton.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php