1--TEST-- 2GH-8065: opcache.consistency_checks > 0 causes segfaults in PHP >= 8.1.5 in fpm context 3--EXTENSIONS-- 4opcache 5--INI-- 6opcache.enable_cli=1 7opcache.consistency_checks=1 8opcache.log_verbosity_level=2 9--FILE-- 10<?php 11var_dump(ini_get("opcache.consistency_checks")); 12var_dump(ini_set("opcache.consistency_checks", 1)); 13var_dump(ini_set("opcache.consistency_checks", -1)); 14var_dump(ini_set("opcache.consistency_checks", 0)); 15?> 16--EXPECTF-- 17%sWarning opcache.consistency_checks is reset back to 0 because it does not work properly (see GH-8065, GH-10624). 18 19string(1) "0" 20%sWarning opcache.consistency_checks is reset back to 0 because it does not work properly (see GH-8065, GH-10624). 21 22bool(false) 23%sWarning opcache.consistency_checks is reset back to 0 because it does not work properly (see GH-8065, GH-10624). 24 25bool(false) 26string(1) "0" 27