Re: [PHP-DEV] zend_execute_ex problem

2013-07-31 Thread Yasuo Ohgaki
Hi Julien, On Wed, Jul 31, 2013 at 10:05 PM, Julien SALLEYRON < > julien.salley...@gmail.com> wrote: > > > > The problem here is that I have came to the conclusion (wrong conclusion > ?) that I need to update the EG(current_execute_data) "as if" the former > called function had been processed, to

Re: [PHP-DEV] zend_execute_ex problem

2013-07-31 Thread Julien SALLEYRON
>Hi Julien, Hi and thank you for taking the time to help. > Don't over write EG(execute_data), but use your own pointer when it is needed. I think this will fix your problem. The problem here is that I have came to the conclusion (wrong conclusion ?) that I need to update the EG(current_execute_

Re: [PHP-DEV] zend_execute_ex problem

2013-07-31 Thread Yasuo Ohgaki
Hi Julien, On Wed, Jul 31, 2013 at 6:24 PM, Julien SALLEYRON < julien.salley...@gmail.com> wrote: > If I EG(execute_data) = EG(execute_data)->prev_execute_data, there is no > loop anymore, but I have freeing error > Don't over write EG(execute_data), but use your own pointer when it is needed. I

[PHP-DEV] zend_execute_ex problem

2013-07-31 Thread Julien SALLEYRON
Hi, I'm working on the AOP_PHP extension (http://pecl.php.net/package/AOP dedicated to bring the AOP paradigm to PHP (may it be evil or not)) and I'm struggling to make it compatible with PHP 5.5 As you probably expect, as the AOP paradigm is something like a magical hook, I have to overload the