Closed sanmai closed 5 years ago
I will not look into this myself but will, of course, review and possibly merge a pull request that addresses this. Because of PCOV and its significant performance improvements not only over Xdebug but also over PHPDBG I do not care enough about PHPDBG anymore to debug problems such as this one.
No questions about PCOV, but if PHPDBG is not supported anymore in 8.3.0, is it going to make sense to warn about that? Or even make a full stop.
I'm sorry to go back and worth about this issue, but if PHPDBG is not supposed to work with process isolation (triggered by @runTestsInSeparateProcesses
like in this case, or otherwise), is it better be blunt about that incompatibility, what do you think?
Does it work with PHP(DBG) 7.3? If it does then this is not a critical issue right now as PHP 7.4 has not been released yet.
Neither I do think this is anywhere critical. Please feel free to prioritize this issue as you see fit.
I'll try to get back to this issue sometime later, and if the problem goes away, I'll close it.
FWIW git bisect between 8.3.0 and 8.2.5 points at 69e61bb1463803d5016ea57cb09a021fd50b4a82
I've did the bisect twice, and it still points there. I'll do it again now. Edit: still point there.
We are seeing same error with phpdbg with PHP 7.2 too
That said I am happy to encounter this bug, helped me discover pcov
:slightly_smiling_face:.
To be clear, I'd love to use pcov/xdebug with 7.4 while peeking into newer PHP releases, but that never works due to those projects not targeting PHP until it's fully released. This is the one big advantage of phpdbg, being a SAPI that is directly evolving with the language itself. This problem will pop up with any future language release (and yep, I know that I'm a super-early adopter - we wouldn't notice a lot of bugs otherwise)
I reverted 69e61bb1463803d5016ea57cb09a021fd50b4a82 in https://github.com/sebastianbergmann/phpunit/commit/dc2365bf329ea09a06de9dce5a70185c728e788a for PHPUnit 8.3.4 (not released yet).
git bisect between 8.3.0 and 8.2.5 points at 69e61bb1463803d5016ea57cb09a021fd50b4a82
Steps to reproduce:
Observe:
Accidentally,
[Nothing to execute!]
is what phpdbg reports in certain circumstances.The test case with the error is tagged with
@runTestsInSeparateProcesses
.