Skip to content

Commit c3a7cc2

Browse files
authored
Add "base64" as key for stream_get_meta_data
Given the right "data" url, PHP will add a boolean "base64" key to `stream_get_meta_data`. See some example code in action: https://3v4l.org/G65j4
1 parent cc91080 commit c3a7cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11722,7 +11722,7 @@
1172211722
'stream_get_contents' => ['string|false', 'source'=>'resource', 'maxlen='=>'int', 'offset='=>'int'],
1172311723
'stream_get_filters' => ['array'],
1172411724
'stream_get_line' => ['string|false', 'stream'=>'resource', 'maxlen'=>'int', 'ending='=>'string'],
11725-
'stream_get_meta_data' => ['array{timed_out:bool,blocked:bool,eof:bool,unread_bytes:int,stream_type:string,wrapper_type:string,wrapper_data:mixed,mode:string,seekable:bool,uri:string,mediatype:string}', 'fp'=>'resource'],
11725+
'stream_get_meta_data' => ['array{timed_out:bool,blocked:bool,eof:bool,unread_bytes:int,stream_type:string,wrapper_type:string,wrapper_data:mixed,mode:string,seekable:bool,uri:string,mediatype:string,base64:bool}', 'fp'=>'resource'],
1172611726
'stream_get_transports' => ['array'],
1172711727
'stream_get_wrappers' => ['array'],
1172811728
'stream_is_local' => ['bool', 'stream'=>'resource|string'],

0 commit comments

Comments
 (0)