xref: /PHP-8.0/ext/zip/tests/zip_close.phpt (revision f3b1f342)
1--TEST--
2zip_close() function
3--SKIPIF--
4<?php
5if(!extension_loaded('zip')) die('skip');
6?>
7--FILE--
8<?php
9$zip = zip_open(__DIR__."/test_procedural.zip");
10if (!is_resource($zip)) die("Failure");
11zip_close($zip);
12echo "OK";
13
14?>
15--EXPECTF--
16Deprecated: Function zip_open() is deprecated in %s on line %d
17
18Deprecated: Function zip_close() is deprecated in %s on line %d
19OK
20