Re: $var::$static
| From: | Etienne Kneuss | Date: | Sun, 27 May 2007 15:52:49 +0000 |
| Subject: | Re: $var::$static | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29830@lists.php.net to get a copy of this message | ||
Hi,
Bart de Boer wrote:
$class = 'Child'; $obj = new $class(); // This works. echo $class::$var; // This doesn't. Should map to Child::$var This feature request was already brought up a couple of weeks/months ago, please consider:http://news.php.net/php.internals/29067 Regards -- Etienne Kneuss http://www.colder.ch colder@php.net Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal