On Tue, Apr 09, 2002 at 12:23:57PM +0300, Zeev Suraski wrote:
> For the record, the advantages and disadvantages of variable name
> constructors were clear from day one,
Nonetheless they were seriously broken in PHP 3, and
class __get {
function __get() {
echo "I am a constructor\n";
}
}
class Bomb extends __get {
}
overload("Bomb");
$bang = new Bomb;
still stands.
Kristian
--
Kristian K�hntopp, NetUSE AG, Dr.-Hell-Stra�e, D-24107 Kiel
Tel: +49 431 386 435 00, Fax: +49 431 386 435 99
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php