summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-19 11:40:31 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-24 09:55:19 +0200
commitc9b9f525a929158736977d6bad938380cad29cc6 (patch)
tree733b4350d1e23c4c40cb2a07c9d1b07762647804 /ext/zlib
parentd1ebc3ab2142e6ee05e1c378fd7dcc597dd3442e (diff)
downloadphp-git-c9b9f525a929158736977d6bad938380cad29cc6.tar.gz
Include stub hash in generated arginfo files
The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
Diffstat (limited to 'ext/zlib')
-rw-r--r--ext/zlib/zlib_arginfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/zlib/zlib_arginfo.h b/ext/zlib/zlib_arginfo.h
index 2a5112391e..134fe9729b 100644
--- a/ext/zlib/zlib_arginfo.h
+++ b/ext/zlib/zlib_arginfo.h
@@ -1,4 +1,5 @@
-/* This is a generated file, edit the .stub.php file instead. */
+/* This is a generated file, edit the .stub.php file instead.
+ * Stub hash: ee70bdd414ad35521ea24384e22ab05e641d81e0 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_ob_gzhandler, 0, 2, MAY_BE_STRING|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)