ZEND_USER_OPCODE_CONTINUE

From: Date: Tue, 17 Feb 2009 20:59:03 +0000
Subject: ZEND_USER_OPCODE_CONTINUE
Groups: php.internals 
Request: Send a blank email to internals+get-43079@lists.php.net to get a copy of this message
Hi, 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. I'm not sure whether we should change the behavior, using a trivial patch like the attached one or whether we should add a ZEND_USER_OPCODE_NEXT_OPCODE constant. The first approach looks nicer to me but might break extensions working around that problem in a hard to track way (skipping an opcode) Ideas, comments? johannes [1] http://news.php.net/php.pecl.dev/6117

Attachment: [text/x-patch] zend_user_opcode_continue01.diff
« previous php.internals (#43079) next »