diff --git a/NEWS b/NEWS index f62fed06593..3cbf5d00f57 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 8.1.10 +- Core: + . Fixed --CGI-- support of run-tests.php. (cmb) 04 Aug 2022, PHP 8.1.9 diff --git a/run-tests.php b/run-tests.php index ae988abdc09..d772c85f952 100755 --- a/run-tests.php +++ b/run-tests.php @@ -3895,7 +3895,7 @@ class TestFile public function isCGI(): bool { - return $this->sectionNotEmpty('CGI') + return $this->hasSection('CGI') || $this->sectionNotEmpty('GET') || $this->sectionNotEmpty('POST') || $this->sectionNotEmpty('GZIP_POST')