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
        <?php
        $c = "aa" == $ff ? 1 : 0;
        ?>

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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to