[php-src] Issue #8466: ini_get() is optimized out when the option does not exist

From: Date: Fri, 29 Apr 2022 20:25:30 +0000
Subject: [php-src] Issue #8466: ini_get() is optimized out when the option does not exist
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241339@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8466 Author: arnaud-lb ### Description The following code: ```php <?php dl("dl_test.so"); var_dump(ini_get("test_test.long")); ``` Resulted in this output: ``` bool(false) ``` But I expected this output instead: ``` string(1) "0" ``` This happens when opcache is enabled. ### PHP Version PHP 8.1 ### Operating System _No response_

« previous php.bugs (#241339) next »