summaryrefslogtreecommitdiff
path: root/ext/zip/tests/zip_close.phpt
blob: e59bf3ed7c516d47873c915153abda657c1977d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
zip_close() function
--SKIPIF--
<?php
/* $Id: zip_close.phpt 260091 2008-05-21 09:27:41Z pajoye $ */
if(!extension_loaded('zip')) die('skip');
?>
--FILE--
<?php
$zip = zip_open(dirname(__FILE__)."/test_procedural.zip");
if (!is_resource($zip)) die("Failure");
zip_close($zip);
echo "OK";

?>
--EXPECT--
OK