Bug #80255 [Opn->Ver]: Opcache bug (bad condition result) in 8.0.0rc1

From: Date: Mon, 19 Oct 2020 09:01:36 +0000
Subject: Bug #80255 [Opn->Ver]: Opcache bug (bad condition result) in 8.0.0rc1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229731@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80255&edit=1 ID: 80255 Updated by: nikic@php.net Reported by: rixafy at gmail dot com Summary: Opcache bug (bad condition result) in 8.0.0rc1 -Status: Open +Status: Verified Type: Bug Package: opcache Operating System: Ubuntu 20.04 PHP Version: 8.0.0RC2 Block user comment: N Private report: N New Comment: Confirming that this reproduces on current PHP-8.0 HEAD. Previous Comments: ------------------------------------------------------------------------ [2020-10-18 19:23:05] rixafy at gmail dot com Description: ------------ I didn't manage to isolate the bug from that package, I provided also html stacktrace in repository and description in readme. It seems like some condition is behaving differently when opcache is enabled, condition passed, but there is no way this condition would even be executed, because condition above (same condition - strlen($newIndent) > strlen($indent)) cannot pass. Test script: --------------- https://github.com/Rixafy/php8.0.0-rc1-opcache-bug ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80255&edit=1

« previous php.bugs (#229731) next »