1
0
Fork 0

Avoid returning actual fstat information as it induces modern PHPs in error when the returned file size is bigger than the fstat size, refs #10387

pull/10409/head
Jordi Boggiano 2021-12-30 20:40:55 +01:00
parent a2a8fa4e7e
commit 164a769dc6
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ if (PHP_VERSION_ID < 80000) {
public function stream_stat()
{
return fstat(\$this->handle);
return array();
}
public function stream_set_option(\$option, \$arg1, \$arg2)