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 1526406 commit 3626cc0Copy full SHA for 3626cc0
Zend/Optimizer/pass1.c
@@ -33,6 +33,7 @@
33
#include "zend_constants.h"
34
#include "zend_execute.h"
35
#include "zend_vm.h"
36
+#include "zend_vm_opcodes.h"
37
38
#define TO_STRING_NOWARN(val) do { \
39
if (Z_TYPE_P(val) < IS_ARRAY) { \
@@ -267,7 +268,11 @@ void zend_optimizer_pass1(zend_op_array *op_array, zend_optimizer_ctx *ctx)
267
268
case ZEND_DO_UCALL:
269
case ZEND_DO_FCALL:
270
case ZEND_DO_FCALL_BY_NAME:
- /* don't collect constants after any UCALL/FCALL */
271
+ case ZEND_FRAMELESS_ICALL_0:
272
+ case ZEND_FRAMELESS_ICALL_1:
273
+ case ZEND_FRAMELESS_ICALL_2:
274
+ case ZEND_FRAMELESS_ICALL_3:
275
+ /* don't collect constants after any UCALL/FCALL/FRAMELESS ICALL */
276
collect_constants = 0;
277
break;
278
case ZEND_STRLEN:
0 commit comments