Merge branch 'PHP-8.3'

This commit is contained in:
Jakub Zelenka 2023-10-22 15:31:46 +01:00
commit 06ee697cff
No known key found for this signature in database
GPG Key ID: 1C0779DC5C0A9DE4

View File

@ -4,6 +4,10 @@ Bug #75708 (getimagesize with "&$imageinfo" fails on StreamWrappers)
<?php
class FSStreamWrapper {
public $context;
public $handle;
function stream_open($file, $mode) {
$this->handle = fopen(str_replace('fs://', __DIR__ . '/', $file), $mode);
return true;