From: Nikita Popov Date: Wed, 29 May 2019 15:31:10 +0000 (+0200) Subject: Fix FPM tests for PHP 8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4241258d74e0ce9c7afaccfe27cbe8269482f4eb;p=php Fix FPM tests for PHP 8 --- diff --git a/sapi/fpm/tests/response.inc b/sapi/fpm/tests/response.inc index 54f85bcfb6..d6ee6c7afb 100644 --- a/sapi/fpm/tests/response.inc +++ b/sapi/fpm/tests/response.inc @@ -174,7 +174,7 @@ class Response { // check default headers return ( - $this->checkHeader('X-Powered-By', '|^PHP/7|', true) && + $this->checkHeader('X-Powered-By', '|^PHP/8|', true) && $this->checkHeader('Content-type', '|^' . $contentType . '(;\s?charset=\w+)?|', true) ); }