Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (33 sloc) 0.542 kB
--TEST--
RAR file stream stat
--SKIPIF--
<?php
if(!extension_loaded("rar")) die("skip");
--ENV--
TZ=Europe/Lisbon
--FILE--
<?php
umask(0);
$stream = fopen("rar://" .
dirname(__FILE__) . '/latest_winrar.rar' .
"#1.txt", "r");
print_r(array_slice(fstat($stream), 13));
echo "Done.\n";
--EXPECTF--
Array
(
[dev] => 0
[ino] => 0
[mode] => 33206
[nlink] => 1
[uid] => 0
[gid] => 0
[rdev] => 0
[size] => 5
[atime] => 0
[mtime] => 1086948439
[ctime] => 0
[blksize] => %s
[blocks] => %s
)
Done.
Jump to Line
Something went wrong with that request. Please try again.