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

main
Jordi Boggiano 2 years ago
parent a2a8fa4e7e
commit 164a769dc6
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -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)

Loading…
Cancel
Save