Re: Re: Bug with static property access
| From: | Chris Stockton | Date: | Wed, 05 Oct 2011 06:56:15 +0000 |
| Subject: | Re: Re: Bug with static property access | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55702@lists.php.net to get a copy of this message | ||
Hello,
On Tue, Oct 4, 2011 at 11:28 PM, Christian Kaps
<christian.kaps@mohiva.com> wrote:
>
>
> It's available since PHP 5.3. This feature is called "late static binding".
>
Before anyone else responds to my post, please read the entire message!
It's simple really, the error message is odd and misleading for the
example code I gave.
In addition I pointed out later in the thread that LSB is not
supported for class constants, something that could perhaps be added,
although it is likely disabled as a (good) design decision, I could
see use cases where it would be useful.
Thanks,
-Chris