php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/ext/standard/tests/streams/ |
files >> //opt/php-7.0.1/ext/standard/tests/streams/stream_resolve_include_path.phpt |
--TEST-- stream_resolve_include_path(string path) --FILE-- <?php $include_path = __DIR__ . '/test_path'; $include_path_nested = $include_path . '/nested'; $include_path_file = $include_path . DIRECTORY_SEPARATOR . 'file'; $include_path_nested_file = $include_path_nested . DIRECTORY_SEPARATOR . 'file'; mkdir($include_path); mkdir($include_path_nested); file_put_contents($include_path_file, 'include_path'); file_put_contents($include_path_nested_file, 'include_path'); var_dump(stream_resolve_include_path()); set_include_path($include_path . PATH_SEPARATOR . $include_path_nested); var_dump(stream_resolve_include_path('file-does-not-exist')); set_include_path($include_path . PATH_SEPARATOR . $include_path_nested); var_dump(stream_resolve_include_path('file')); set_include_path($include_path_nested . PATH_SEPARATOR . $include_path); var_dump(stream_resolve_include_path('file')); unlink($include_path_nested_file); rmdir($include_path_nested); unlink($include_path_file); rmdir($include_path); --EXPECTF-- Warning: stream_resolve_include_path() expects exactly 1 parameter, 0 given in %s on line %d NULL bool(false) string(%d) "%stest_path%sfile" string(%d) "%stest_path%snested%sfile"y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`