constant expressions for properties, etc.

class Foo {
  public $x = 5 + SOME_CONST;
}

Thanks. Dmitry.


On Mon, Aug 18, 2014 at 11:52 AM, Sebastian Bergmann <sebast...@php.net>
wrote:

> Am 18.08.2014 um 09:32 schrieb Dmitry Stogov:
> > Can OPcahce always keep AST in shared memory and don't copy it into
> > process memory on each request?
> (ext/opcache/zend_accelerator_util_funcs.c)
>
>  Why would the AST need to be cached?
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to