summaryrefslogtreecommitdiffstats
path: root/php-upstream.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-upstream.patch')
-rw-r--r--php-upstream.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/php-upstream.patch b/php-upstream.patch
new file mode 100644
index 0000000..a26c127
--- /dev/null
+++ b/php-upstream.patch
@@ -0,0 +1,47 @@
+From 55798e0e391d18d7e7d321c1149b12aa89d7d4ff Mon Sep 17 00:00:00 2001
+From: Nikita Popov <nikita.ppv@gmail.com>
+Date: Wed, 26 Aug 2020 15:19:23 +0200
+Subject: [PATCH] Lowercase method name in zend_call_method()
+
+---
+ Zend/zend_interfaces.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Zend/zend_interfaces.c b/Zend/zend_interfaces.c
+index 16c193e42060..808de7c170da 100644
+--- a/Zend/zend_interfaces.c
++++ b/Zend/zend_interfaces.c
+@@ -53,7 +53,7 @@ ZEND_API zval* zend_call_method(zend_object *object, zend_class_entry *obj_ce, z
+ }
+ if (!fn_proxy || !*fn_proxy) {
+ if (EXPECTED(obj_ce)) {
+- fn = zend_hash_str_find_ptr(
++ fn = zend_hash_str_find_ptr_lc(
+ &obj_ce->function_table, function_name, function_name_len);
+ if (UNEXPECTED(fn == NULL)) {
+ /* error at c-level */
+From 8c57474e35fa1ae9c256ac224ea646673c9d404c Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@php.net>
+Date: Fri, 21 Aug 2020 14:41:35 +0200
+Subject: [PATCH] ensure installed ini don't interfere
+
+---
+ sapi/cli/tests/bug62294.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sapi/cli/tests/bug62294.phpt b/sapi/cli/tests/bug62294.phpt
+index b300729939f..04d0d8b60e4 100644
+--- a/sapi/cli/tests/bug62294.phpt
++++ b/sapi/cli/tests/bug62294.phpt
+@@ -4,7 +4,7 @@ Bug #62294: register_shutdown_function() does not handle exit code correctly
+ <?php
+
+ $php = getenv('TEST_PHP_EXECUTABLE');
+-exec($php . ' ' . __DIR__ . '/bug62294.inc', $output, $exit_status);
++exec($php . ' -n ' . __DIR__ . '/bug62294.inc', $output, $exit_status);
+ var_dump($exit_status);
+
+ ?>
+--
+2.11.0
+