mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix failing test for bug #75708
This commit is contained in:
parent
275d36ea2f
commit
006032b6f0
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue