Re: ZEND_USER_OPCODE_CONTINUE
| From: | Christian Seiler | Date: | Tue, 17 Feb 2009 21:12:34 +0000 |
| Subject: | Re: ZEND_USER_OPCODE_CONTINUE | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43081@lists.php.net to get a copy of this message | ||
Hi Johannes,
> while implementing a small toy extension (see [1]) I found out that
> ZEND_USER_OPCODE_CONTINUE seems to misbehave as it doesn't go to the
> next opcode so I ended up in an endless loop executing the same opcode
> again and again.
Isn't that expected behaviour? If a normal opcode handler does not
increase the opline, simply returning will also cause re-execution of
the same handler again and again. Why should it be different for user
opcode handlers?
Regards,
Christian