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 e73046e commit 9e36a74Copy full SHA for 9e36a74
ext/opcache/Optimizer/sccp.c
@@ -573,6 +573,12 @@ static inline int ct_eval_func_call(
573
return FAILURE;
574
}
575
576
+ /* pass */
577
+ } else if (zend_string_equals_literal(name, "implode")
578
+ && ((num_args == 1 && Z_TYPE_P(args[0]) == IS_ARRAY)
579
+ || (num_args == 2 && Z_TYPE_P(args[0]) == IS_STRING && Z_TYPE_P(args[1]) == IS_ARRAY)
580
+ || (num_args == 2 && Z_TYPE_P(args[0]) == IS_ARRAY && Z_TYPE_P(args[1]) == IS_STRING))) {
581
582
} else {
583
#if 0
584
fprintf(stderr, "constant ICALL to %s()\n", ZSTR_VAL(name));
0 commit comments