From 4241258d74e0ce9c7afaccfe27cbe8269482f4eb Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 29 May 2019 17:31:10 +0200 Subject: [PATCH] Fix FPM tests for PHP 8 --- sapi/fpm/tests/response.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/fpm/tests/response.inc b/sapi/fpm/tests/response.inc index 54f85bcfb60..d6ee6c7afbd 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) ); }