mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Fix FPM tests for PHP 8
This commit is contained in:
parent
45a0656e95
commit
4241258d74
@ -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)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user