Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend.c zend_execute_API.c zend_vm_def.h zend_vm_execute.h php-src NEWS
| From: | Derick Rethans | Date: | Wed, 16 Apr 2008 18:26:44 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / zend.c zend_execute_API.c zend_vm_def.h zend_vm_execute.h php-src NEWS | ||
| References: | 1 2 3 | Groups: | php.internals php.zend-engine.cvs |
| Request: | Send a blank email to internals+get-37041@lists.php.net to get a copy of this message | ||
On Fri, 11 Apr 2008, Dmitry Stogov wrote:
> Sorry, but I think mainly about PHP performance, and of course I didn't know
> that you trace return_values it in xdebug.
>
> After the patch, in case if return value is not used we set
> EG(return_value_ptr_ptr) to NULL before call to nested execute().
> I assume you can just check for (EG(return_value_ptr_ptr)==NULL) before write
> it. Will it work for you?
I'm already doing that, so not went really wrong. I am just wondering
whether it would be possible to always have those return values there
through some kind of option.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org