We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a51262 commit 9f8f84aCopy full SHA for 9f8f84a
ext/opcache/Optimizer/sccp.c
@@ -955,6 +955,8 @@ static inline int ct_eval_func_call(
955
/* pass */
956
} else if (zend_string_equals_literal(name, "strpos")
957
|| zend_string_equals_literal(name, "str_contains")
958
+ || zend_string_equals_literal(name, "str_starts_with")
959
+ || zend_string_equals_literal(name, "str_ends_with")
960
|| zend_string_equals_literal(name, "version_compare")) {
961
if (Z_TYPE_P(args[0]) != IS_STRING
962
|| Z_TYPE_P(args[1]) != IS_STRING) {
0 commit comments