fzaninotto / Streamer

Object-Oriented API for PHP streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileStream::create , $context cannot be null

absszero opened this issue · comments

// factory
$fileStream = FileStream::create('smiley.png', 'r');
print_r($fileStream);
// exception: fopen() expects parameter 4 to be resource, null given` ,
// my php versoin: 5.6.17