Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pmFlB
function name: (null)
number of ops: 10
compiled vars: !0 = $values, !1 = $mapped
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
17 0 E > ASSIGN !0, <array>
18 1 INIT_FCALL 'foreachmap'
2 SEND_VAL 'myCallback'
3 SEND_VAR !0
4 DO_FCALL 0 $3
5 ASSIGN !1, $3
19 6 INIT_FCALL 'var_dump'
7 SEND_VAR !1
8 DO_ICALL
9 > RETURN 1
Function mycallback:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/pmFlB
function name: myCallback
number of ops: 12
compiled vars: !0 = $key, !1 = $val
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > RECV !0
1 RECV !1
5 2 INIT_FCALL 'var_dump'
3 ROPE_INIT 4 ~3 'myCallback+-+key%3A+'
4 ROPE_ADD 1 ~3 ~3, !0
5 ROPE_ADD 2 ~3 ~3, '%2C+val%3A+'
6 ROPE_END 3 ~2 ~3, !1
7 SEND_VAL ~2
8 DO_ICALL
6 9 MUL ~6 !1, 2
10 > RETURN ~6
7 11* > RETURN null
End of function mycallback
Function foreachmap:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 13
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename: /in/pmFlB
function name: foreachMap
number of ops: 16
compiled vars: !0 = $callback, !1 = $givenArray, !2 = $result, !3 = $val, !4 = $key
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
9 0 E > RECV !0
1 RECV !1
10 2 ASSIGN !2, <array>
11 3 > FE_RESET_R $6 !1, ->13
4 > > FE_FETCH_R ~7 $6, !3, ->13
5 > ASSIGN !4, ~7
12 6 INIT_DYNAMIC_CALL !0
7 SEND_VAR_EX !4
8 SEND_VAR_EX !3
9 DO_FCALL 0 $10
10 ASSIGN_DIM !2, !4
11 OP_DATA $10
11 12 > JMP ->4
13 > FE_FREE $6
14 14 > RETURN !2
15 15* > RETURN null
End of function foreachmap
Generated using Vulcan Logic Dumper, using php 8.0.0