Re: com php-src: Added function opcache_compile_file() to load PHP scripts into cache without execution.: NEWS ext/opcache/ZendAccelerator.c
ext/opcache/ZendAccelerator.h ext/opcache/zend_accelerator_module.c
| From: | Dmitry Stogov | Date: | Fri, 27 Sep 2013 08:48:40 +0000 |
| Subject: | Re: com php-src: Added function opcache_compile_file() to load PHP scripts into cache without execution.: NEWS ext/opcache/ZendAccelerator.c ext/opcache/ZendAccelerator.h ext/opcache/zend_accelerator_module.c |
||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-73293@lists.php.net to get a copy of this message | ||
Hi Antony,
I'm not sure if switching from zend_error() to php_error_docref() would
improve usability.
I'll remove reference to Zend Support :)
It, provably, came from an old private version.
Thanks for caching this.
Thanks. Dmitry.
On Thu, Sep 26, 2013 at 11:52 AM, Antony Dovgal <tony@daylessday.org> wrote:
> On 2013-09-26 00:58, Dmitry Stogov wrote:
>
>> This function is going to be used only for cache warm-up (to load files
>> into cache without execution).
>> I don't think it may be useful in application code.
>> It 's not a big problem having warning and hiding it with @ if necessary.
>>
>
> If it's already in ext/, why not use php_error_docref() instead of
> zend_error() and get rid of messages like "class loading error, class %s,
> function %s. Please call Zend Support" ?
>
> --
> Wbr,
> Antony Dovgal
> ---
> http://pinba.org - realtime profiling for PHP
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>