Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/3Sa10
function name: (null)
number of ops: 7
compiled vars: !0 = $example
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
19 0 E > NEW $1 'Example'
1 DO_FCALL 0
2 ASSIGN !0, $1
20 3 INIT_METHOD_CALL !0, 'addPromotions'
4 SEND_VAL_EX <array>
5 DO_FCALL 0
6 > RETURN 1
Class Example:
Function addpromotions:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 10
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 10
filename: /in/3Sa10
function name: addPromotions
number of ops: 17
compiled vars: !0 = $promotions, !1 = $promotion, !2 = $data
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
5 0 E > RECV !0
8 1 > FE_RESET_R $3 !0, ->10
2 > > FE_FETCH_R $3, !1, ->10
9 3 > FETCH_OBJ_R ~5 !1, 'claim_code'
4 INIT_ARRAY ~6 ~5, 'PromoCode'
5 FETCH_OBJ_R ~7 !1, 'name'
6 ADD_ARRAY_ELEMENT ~6 ~7, 'PromotionName'
7 ASSIGN_DIM !2
8 OP_DATA ~6
8 9 > JMP ->2
10 > FE_FREE $3
12 11 > JMPZ !2, ->16
13 12 > INIT_METHOD_CALL 'post'
13 SEND_VAL_EX '%2Fcurrent%2Fapi%2FAddPromotions'
14 SEND_VAR_EX !2
15 DO_FCALL 0
15 16 > > RETURN null
End of function addpromotions
End of class Example.
Generated using Vulcan Logic Dumper, using php 8.0.0