/hphp/test/zend/bad/ext/zip/tests/bug11216.php
PHP | 9 lines | 9 code | 0 blank | 0 comment | 0 complexity | 1a855faeec113d482829d44fd35a41e3 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- $archive = new ZipArchive();
- $archive->open('__test.zip', ZIPARCHIVE::CREATE);
- var_dump($archive->addEmptyDir('test'));
- print_r($archive);
- var_dump($archive->addEmptyDir('test'));
- $archive->close();
- unlink('__test.zip');
- ?>