Skip to content

Commit 9c136f1

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fixed bug #80083
2 parents 2bbf2a9 + a4f806a commit 9c136f1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2020, PHP 7.4.12
44

5+
- OPcache:
6+
. Fixed bug #80083 (Optimizer pass 6 removes variables used for ibm_db2 data
7+
binding). (Nikita)
58

69
01 Oct 2020, PHP 7.4.11
710

ext/opcache/Optimizer/zend_optimizer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,8 @@ uint32_t zend_optimizer_classify_function(zend_string *name, uint32_t num_args)
906906
return ZEND_FUNC_INDIRECT_VAR_ACCESS;
907907
} else if (zend_string_equals_literal(name, "assert")) {
908908
return ZEND_FUNC_INDIRECT_VAR_ACCESS;
909+
} else if (zend_string_equals_literal(name, "db2_execute")) {
910+
return ZEND_FUNC_INDIRECT_VAR_ACCESS;
909911
} else if (zend_string_equals_literal(name, "func_num_args")) {
910912
return ZEND_FUNC_VARARG;
911913
} else if (zend_string_equals_literal(name, "func_get_arg")) {

0 commit comments

Comments
 (0)