Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88886 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31002 invoked from network); 20 Oct 2015 14:45:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Oct 2015 14:45:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:49144] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 81/47-54881-29356265 for ; Tue, 20 Oct 2015 10:45:38 -0400 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 1261010C01F; Tue, 20 Oct 2015 15:45:28 +0100 (BST) Date: Tue, 20 Oct 2015 15:45:28 +0100 (BST) X-X-Sender: derick@whisky.home.derickrethans.nl To: Dmitry Stogov cc: Xinchen Hui , PHP Developers Mailing List Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Issues with exceptions and overloading opcodes From: derick@php.net (Derick Rethans) 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