Files
php-rar/tests/050.phpt
cataphract dadab995f5 Directory streams and url stat implemented.
Exposed UnRAR DLL API version in MINFO.
Refactoring and a few other minor changes.

git-svn-id: http://svn.php.net/repository/pecl/rar/trunk@298980 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-04 17:17:01 +00:00

17 lines
290 B
PHP

--TEST--
Stream wrapper basic test
--SKIPIF--
<?php
if(!extension_loaded("rar")) die("skip");
--FILE--
<?php
$stream = fopen("rar://" .
dirname(__FILE__) . '/latest_winrar.rar' .
"#1.txt", "r");
var_dump(stream_get_contents($stream));
echo "Done.\n";
--EXPECTF--
string(5) "11111"
Done.