Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103128 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 24532 invoked from network); 4 Sep 2018 20:24:12 -0000 Received: from unknown (HELO xdebug.org) (82.113.146.227) by pb1.pair.com with SMTP; 4 Sep 2018 20:24:12 -0000 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 1986010C032; Tue, 4 Sep 2018 17:26:49 +0100 (BST) Date: Tue, 4 Sep 2018 17:26:49 +0100 (BST) X-X-Sender: derick@singlemalt.home.derickrethans.nl To: Dmitry Stogov cc: PHP Developers Mailing List Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Mysterious (to me) Xdebug issue with PHP 7.3 From: derick@php.net (Derick Rethans) Hi, I'm finalizing Xdebug support for PHP 7.3, and although I have fixed many things, there is one thing that is (currently) eluding me. The branch I'm working on is https://github.com/derickr/xdebug/tree/PHP-7.3-support With Xdebug (just) loaded, the following script: $ cat /tmp/bug01471.php Fails to run with: $ php -n -dzend_extension=xdebug.so /tmp/bug01471.php Fatal error: Invalid opcode 17/1/8. in /tmp/bug01471.php on line 2 Call Stack: 0.0002 0 1. {main}() /tmp/bug01471.php:0 I also see others, like when running with a Composer library: $ vendor/bin/phpunit --debug Fatal error: Invalid opcode 16/1/2. in /home/derick/dev/php/derickr-mongo-php-library/vendor/composer/autoload_real.php on line 18 Call Stack: 0.0003 431424 1. {main}() /home/derick/dev/php/derickr-mongo-php-library/vendor/phpunit/phpunit/phpunit:0 0.0005 433616 2. require('/home/derick/dev/php/derickr-mongo-php-library/vendor/autoload.php') /home/derick/dev/php/derickr-mongo-php-library/vendor/phpunit/phpunit/phpunit:51 0.0008 450432 3. ComposerAutoloaderInit96731179a4aab6838b54de3a71995ee1::getLoader() /home/derick/dev/php/derickr-mongo-php-library/vendor/autoload.php:7 And I can't figure out why. The backtrace isn't particularly useful either. I got similar issues with get_zval_ptr [1], as it changed, but I can't track this specific one down. Would you mind having a look? cheers, Derick [1] https://github.com/derickr/xdebug/commit/70d9189700d57707d842020493a3df23e0c76098 -- -- https://derickrethans.nl | https://xdebug.org | https://dram.io Like Xdebug? Consider a donation: https://xdebug.org/donate.php, or become my Patron: https://www.patreon.com/derickr twitter: @derickr and @xdebug