note 74968 deleted from language.oop5.static by felipe

From: Date: Mon, 24 Mar 2008 23:15:34 +0000
Subject: note 74968 deleted from language.oop5.static by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-137524@lists.php.net to get a copy of this message
Note Submitter: meszaros dot gergely at gmail dot com ---- If you need a workaround for a static property overloading problem (see previous post) try this: <?php abstract class a { public static $lala = '1'; function __construct () { # echo self::$lala $vars = get_class_vars(get_class($this)); echo $vars['lala']; } } class b extends a { public static $lala = '2'; } new b(); ?>

« previous php.notes (#137524) next »