Skip to content

Commit 4241258

Browse files
committed
Fix FPM tests for PHP 8
1 parent 45a0656 commit 4241258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/tests/response.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class Response
174174
{
175175
// check default headers
176176
return (
177-
$this->checkHeader('X-Powered-By', '|^PHP/7|', true) &&
177+
$this->checkHeader('X-Powered-By', '|^PHP/8|', true) &&
178178
$this->checkHeader('Content-type', '|^' . $contentType . '(;\s?charset=\w+)?|', true)
179179
);
180180
}

0 commit comments

Comments
 (0)