Bug #79801 [Opn]: Type Error with JIT

From: Date: Mon, 19 Oct 2020 13:58:39 +0000
Subject: Bug #79801 [Opn]: Type Error with JIT
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229755@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79801&edit=1 ID: 79801 Updated by: sebastian@php.net Reported by: sebastian@php.net Summary: Type Error with JIT Status: Open Type: Bug Package: JIT Operating System: Linux PHP Version: 8.0Git-2020-09-03 (Git) Block user comment: N Private report: N New Comment: Let me know whether a video conference where I share my screen would help getting to the bottom of this. Previous Comments: ------------------------------------------------------------------------ [2020-10-19 13:57:19] nikic@php.net I tried this again using exactly the referenced commit and using exactly the listed ini options, but this still doesn't reproduce for me :( ------------------------------------------------------------------------ [2020-10-16 05:10:08] sebastian@php.net I am still able to reproduce this with current versions of PHPUnit (137f98be3b928d5f9f14e66f7aa5eadcfc668bbe) and PHP 8.0 (3841ea338ef2508d467efef9ec45d03162ba695d). ------------------------------------------------------------------------ [2020-09-04 14:29:42] sebastian@php.net Weird. Just to be sure: you used the same settings (-d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.optimization_level=-1 -d opcache.jit_buffer_size=64M -d opcache.jit=1255) I used? ------------------------------------------------------------------------ [2020-09-04 13:39:00] nikic@php.net I'm not able to reproduce this. ------------------------------------------------------------------------ [2020-09-04 08:26:54] sebastian@php.net PHPUnit\Framework\TestCase::usesDataProvider() has a single line of code in its body: return !empty($this->data); I do not believe that empty() can return a value of type string, hence I believe "Fatal error: Uncaught TypeError: PHPUnit\Framework\TestCase::usesDataProvider(): Return value must be of type bool, string returned in /usr/local/src/phpunit/src/Framework/TestCase.php:1484" to be wrong. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=79801 -- Edit this bug report at https://bugs.php.net/bug.php?id=79801&edit=1

« previous php.bugs (#229755) next »