Issues with exceptions and overloading opcodes

From: Date: Tue, 20 Oct 2015 14:45:28 +0000
Subject: Issues with exceptions and overloading opcodes
Groups: php.internals 
Request: Send a blank email to internals+get-88886@lists.php.net to get a copy of this message
Hi! When hacking on Xdebug for PHP 7, I ran into some issues where PHP would just spin around. This happens when there is an exception, and I use overloaded opcodes. I wrote a small example extension at https://github.com/derickr/php-minimal-opcode-overloading-example with a test case (https://github.com/derickr/php-minimal-opcode-overloading-example/blob/master/tests/test.php) that shows that something is looping in executing opcodes, as the HANDLE_EXCEPTION iirc doesn't advance to the next opline. I believe this is a recent enough change, as it only started happening after I upgraded from about RC1 to latest master. Would you care to have a look? cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine

« previous php.internals (#88886) next »