PHP 4.0 Bug #1856: Non-inheritance of class contructors

From: Date: Fri, 23 Jul 1999 23:35:47 +0000
Subject: PHP 4.0 Bug #1856: Non-inheritance of class contructors
Groups: php.dev 
Request: Send a blank email to php-dev+get-9076@lists.php.net to get a copy of this message
From: christophe.massiot@mail.dotcom.fr Operating system: Debian GNU/Linux PHP version: 4.0 Beta 1 PHP Bug Type: Misbehaving function Bug description: Non-inheritance of class contructors The following piece of code is not compatible with the current behaviour since PHP 3.0.x (I don't remember exactly, I wasn't counting) : class toto { var $meuuh; function toto() { $this->meuuh = 1; } } class titi extends toto { } $titi = new titi; echo "the result is : ".$titi->meuuh;

« previous php.dev (#9076) next »