--TEST-- Phar: test fopen() interception --SKIPIF-- = 5.3 required for this test");?> --INI-- phar.require_hash=1 phar.readonly=0 detect_unicode=0 --FILE-- '; $a['dir/file1.txt'] = 'hi'; $a['dir/file2.txt'] = 'hi2'; $a['dir/file3.txt'] = 'hi3'; $a->setStub(' ===DONE=== --CLEAN-- --EXPECTF-- Warning: fopen() expects at least 2 parameters, 0 given in %sfopen.php on line %d hihi Warning: fopen(notfound.txt): failed to open stream: No such file or directory in phar://%sfopen.phar.php/index.php on line %d ===DONE===