xref: /PHP-7.0/ext/zip/tests/zip_entry_open.phpt (revision 8ad0c6d5)
1--TEST--
2zip_entry_open() function
3--SKIPIF--
4<?php
5/* $Id$ */
6if(!extension_loaded('zip')) die('skip');
7?>
8--FILE--
9<?php
10$zip    = zip_open(dirname(__FILE__)."/test_procedural.zip");
11$entry  = zip_read($zip);
12echo zip_entry_open($zip, $entry, "r") ? "OK" : "Failure";
13zip_entry_close($entry);
14zip_close($zip);
15
16?>
17--EXPECT--
18OK
19