xref: /php-src/ext/zip/tests/zip_open.phpt (revision 29f98e74)
1--TEST--
2zip_open() function
3--EXTENSIONS--
4zip
5--FILE--
6<?php
7$zip = zip_open(__DIR__."/test_procedural.zip");
8
9echo is_resource($zip) ? "OK" : "Failure";
10
11?>
12--EXPECTF--
13Deprecated: Function zip_open() is deprecated since 8.0, use ZipArchive::open() instead in %s on line %d
14OK
15