Created
December 17, 2019 12:35
-
-
Save dstogov/21496712c1e2e65ffcd28f53eedd6e40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/opcache/Optimizer/zend_optimizer.c b/ext/opcache/Optimizer/zend_optimizer.c | |
index 957b977dd6..5d5ecc78be 100644 | |
--- a/ext/opcache/Optimizer/zend_optimizer.c | |
+++ b/ext/opcache/Optimizer/zend_optimizer.c | |
@@ -684,6 +684,8 @@ uint32_t zend_optimizer_classify_function(zend_string *name, uint32_t num_args) | |
return ZEND_FUNC_INDIRECT_VAR_ACCESS; | |
} else if (zend_string_equals_literal(name, "assert")) { | |
return ZEND_FUNC_INDIRECT_VAR_ACCESS; | |
+ } else if (zend_string_equals_literal(name, "db2_bind_param")) { | |
+ return ZEND_FUNC_INDIRECT_VAR_ACCESS; | |
} else if (zend_string_equals_literal(name, "func_num_args")) { | |
return ZEND_FUNC_VARARG; | |
} else if (zend_string_equals_literal(name, "func_get_arg")) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment