Skip to content

Commit 7a95569

Browse files
committed
fixup! zend_compile: Optimize array_map() with callable convert callback into foreach
1 parent 602f215 commit 7a95569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/array/array_map_foreach_optimization_002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $_main:
3434
0003 V2 = DO_ICALL
3535
0004 ASSIGN CV0($array) V2
3636
0005 V5 = NEW 1 string("ArrayIterator")
37-
0006 SEND_VAR CV0($array) 1
37+
0006 SEND_VAR%S CV0($array) 1
3838
0007 DO_FCALL
3939
0008 TYPE_ASSERT 131079 string("array_map") V5
4040
0009 V2 = INIT_ARRAY 0 (packed) NEXT

0 commit comments

Comments
 (0)