mirror of
https://github.com/php-win-ext/php-rar.git
synced 2026-03-24 13:02:06 +01:00
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
17 lines
290 B
PHP
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.
|