Closes GH-6563.
if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|l",
&name, &name_len, &mtime, &flags) == FAILURE) {
- return;
+ RETURN_THROWS();
}
ZIP_FROM_OBJECT(intern, this);
if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll|l",
&index, &mtime, &flags) == FAILURE) {
- return;
+ RETURN_THROWS();
}
ZIP_FROM_OBJECT(intern, this);
/** @return string|false */
public function getArchiveComment(int $flags = 0) {}
- /** @return bool|null */
+ /** @return bool */
public function setCommentIndex(int $index, string $comment) {}
- /** @return bool|null */
+ /** @return bool */
public function setCommentName(string $name, string $comment) {}
#ifdef HAVE_SET_MTIME
- /** @return bool|null */
+ /** @return bool */
public function setMtimeIndex(int $index, int $timestamp, int $flags = 0) {}
- /** @return bool|null */
+ /** @return bool */
public function setMtimeName(string $name, int $timestamp, int $flags = 0) {}
#endif
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 4ca2b108e71924309abcdc1a0f86f5963a8516f3 */
+ * Stub hash: 8994595a1c86072629e051291e87cc5e1774eb7f */
ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_open, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)