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