summaryrefslogtreecommitdiffstats
path: root/php-wip.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-12-20 19:17:38 +0100
committerRemi Collet <fedora@famillecollet.com>2013-12-20 19:17:38 +0100
commit969a883bb4e40fbd79a2ef10b03188425fdc5b02 (patch)
tree1190b6cf33214c2a5b02481e8906a349dda0c9be /php-wip.patch
parent6b7325afdad74d6446f29b7ebc8bf9d416fbd71b (diff)
php 5.5: test build for https://bugs.php.net/66331
Diffstat (limited to 'php-wip.patch')
-rw-r--r--php-wip.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php-wip.patch b/php-wip.patch
new file mode 100644
index 0000000..7908956
--- /dev/null
+++ b/php-wip.patch
@@ -0,0 +1,12 @@
+diff -up Zend/zend_compile.c.old Zend/zend_compile.c
+--- Zend/zend_compile.c.old 2013-12-20 18:54:27.817018413 +0100
++++ Zend/zend_compile.c 2013-12-20 18:54:37.015050252 +0100
+@@ -3209,7 +3209,7 @@ static zend_bool zend_do_perform_impleme
+ }
+
+ /* by-ref constraints on arguments are invariant */
+- if (fe->common.arg_info[i].pass_by_reference != proto->common.arg_info[i].pass_by_reference) {
++ if ((fe->common.arg_info[i].pass_by_reference>0) != (proto->common.arg_info[i].pass_by_reference>0)) {
+ return 0;
+ }
+ }