Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (21 sloc) 0.506 kb
--TEST--
rar_close is called twice
--SKIPIF--
<?php if(!extension_loaded("rar")) print "skip"; ?>
--FILE--
<?php
$f1 = dirname(__FILE__) . "/latest_winrar.rar";
$a = RarArchive::open($f1);
echo $a."\n";
$a->close();
echo $a."\n";
$a->close();
echo $a."\n";
echo "\n";
echo "Done.\n";
--EXPECTF--
RAR Archive "%slatest_winrar.rar"
RAR Archive "%slatest_winrar.rar" (closed)
Warning: RarArchive::close(): The archive is already closed in %s on line %d
RAR Archive "%slatest_winrar.rar" (closed)
Done.
Jump to Line
Something went wrong with that request. Please try again.