1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
|