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
parent
a2a8fa4e7e
commit
164a769dc6
|
@ -348,7 +348,7 @@ if (PHP_VERSION_ID < 80000) {
|
||||||
|
|
||||||
public function stream_stat()
|
public function stream_stat()
|
||||||
{
|
{
|
||||||
return fstat(\$this->handle);
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function stream_set_option(\$option, \$arg1, \$arg2)
|
public function stream_set_option(\$option, \$arg1, \$arg2)
|
||||||
|
|
Loading…
Reference in New Issue