Re: [RFC] [VOTE] Constant scalar expressions
| From: | Yasuo Ohgaki | Date: | Fri, 22 Nov 2013 17:37:58 +0000 |
| Subject: | Re: [RFC] [VOTE] Constant scalar expressions | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70287@lists.php.net to get a copy of this message | ||
Hi Bob,
On Fri, Nov 22, 2013 at 10:09 PM, Bob Weinand <bobwei9@hotmail.com> wrote:
> With patch:
> const a = 10;
>
> class name {
> public static $b = a * 2;
> }
>
Static is not a constant :)
It's different issue.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net