summaryrefslogtreecommitdiff
path: root/user/php7/zend_bool.patch
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-04-05 12:51:59 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-04-05 12:51:59 +0000
commit343e40efb539159bff58339cae63279e2a7cf9c2 (patch)
tree114140210c76d51c9946300ec02fa676aebf6ad5 /user/php7/zend_bool.patch
parent0b10cc74d61cd3b81c5f3b54d44bc6c3e1723a03 (diff)
parentaf409aaaaf71ee25115f59e64bf8ea566d278176 (diff)
downloadpackages-343e40efb539159bff58339cae63279e2a7cf9c2.tar.gz
packages-343e40efb539159bff58339cae63279e2a7cf9c2.tar.bz2
packages-343e40efb539159bff58339cae63279e2a7cf9c2.tar.xz
packages-343e40efb539159bff58339cae63279e2a7cf9c2.zip
Merge branch 'bump/php744' into 'master'
Bump PHP to 7.4.4 See merge request adelie/packages!423
Diffstat (limited to 'user/php7/zend_bool.patch')
-rw-r--r--user/php7/zend_bool.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/user/php7/zend_bool.patch b/user/php7/zend_bool.patch
new file mode 100644
index 000000000..b2e0b0f8f
--- /dev/null
+++ b/user/php7/zend_bool.patch
@@ -0,0 +1,19 @@
+zend_parse_parameters can't be passed &int if it's expecting zend_bool
+("b", unsigned char).
+
+Ironically, this code (Reflect::export) is scheduled to be removed in
+the next 7.4 release[1], so don't bother forwarding.
+
+[1] https://github.com/php/php-src/pull/5188
+
+--- php-7.4.4/ext/reflection/php_reflection.c 2020-03-17 06:40:26.000000000 -0400
++++ php-7.4.4/ext/reflection/php_reflection.c 2020-03-30 01:00:27.938405046 -0400
+@@ -1304,7 +1304,7 @@ static void _reflection_export(INTERNAL_
+ zval *argument_ptr, *argument2_ptr;
+ zval retval, params[2];
+ int result;
+- int return_output = 0;
++ zend_bool return_output = 0;
+ zend_fcall_info fci;
+ zend_fcall_info_cache fcc;
+