mirror of
https://github.com/php-win-ext/php-rar.git
synced 2026-04-25 21:38:05 +02:00
dadab995f5
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
18 lines
423 B
PHP
18 lines
423 B
PHP
--TEST--
|
|
RAR directory stream attempt on file
|
|
--SKIPIF--
|
|
<?php
|
|
if(!extension_loaded("rar")) die("skip");
|
|
--FILE--
|
|
<?php
|
|
$u = "rar://" .
|
|
dirname(__FILE__) . '/dirlink_unix.rar' .
|
|
"#file";
|
|
var_dump(opendir($u));
|
|
|
|
echo "Done.\n";
|
|
--EXPECTF--
|
|
Warning: opendir(rar://%sdirlink_unix.rar#file): failed to open dir: Archive %sdirlink_unix.rar has an entry named file, but it is not a directory in %s on line %d
|
|
bool(false)
|
|
Done.
|