Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/dK21a
function name: (null)
number of ops: 7
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
44 0 E > INIT_FCALL 'print_r'
1 INIT_FCALL 'getpartbyname'
2 SEND_VAL 'lorem'
3 DO_FCALL 0 $0
4 SEND_VAR $0
5 DO_ICALL
6 > RETURN 1
Function getparts:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/dK21a
function name: getParts
number of ops: 6
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
5 0 E > INIT_FCALL 'json_decode'
6 1 SEND_VAL '%5B%0A++++%7B%0A++++++++%22name%22%3A+%22lorem+ipsum%22%2C%0A++++++++%22category%22%3A+%22hi%22%2C%0A++++++++%22quantity%22%3A+%222%22%2C%0A++++++++%22price%22%3A+%2255%22%2C%0A++++++++%22id%22%3A+1756378%2C%0A++++++++%22shelf%22%3A+%2230%22%2C%0A++++++++%22slot%22%3A+%22173%22%0A++++%7D%2C%0A++++%7B%0A++++++++%22name%22%3A+%22foo+bar%22%2C%0A++++++++%22category%22%3A+%22there%22%2C%0A++++++++%22quantity%22%3A+%222%22%2C%0A++++++++%22price%22%3A+%2290%22%2C%0A++++++++%22id%22%3A+1181335%2C%0A++++++++%22shelf%22%3A+%22%22%2C%0A++++++++%22slot%22%3A+%22%22%0A++++%7D%0A%5D'
27 2 SEND_VAL <true>
5 3 DO_ICALL $0
27 4 > RETURN $0
28 5* > RETURN null
End of function getparts
Function getpartbyname:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 16
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 15
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename: /in/dK21a
function name: getPartByName
number of ops: 19
compiled vars: !0 = $name, !1 = $matches, !2 = $parts, !3 = $part
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
30 0 E > RECV !0
32 1 ASSIGN !1, <array>
34 2 INIT_FCALL 'getparts'
3 DO_FCALL 0 $5
4 ASSIGN !2, $5
35 5 > FE_RESET_R $7 !2, ->16
6 > > FE_FETCH_R $7, !3, ->16
36 7 > INIT_FCALL 'str_starts_with'
8 FETCH_DIM_R ~8 !3, 'name'
9 SEND_VAL ~8
10 SEND_VAR !0
11 DO_ICALL $9
12 > JMPZ $9, ->15
37 13 > ASSIGN_DIM !1
14 OP_DATA !3
35 15 > > JMP ->6
16 > FE_FREE $7
41 17 > RETURN !1
42 18* > RETURN null
End of function getpartbyname
Generated using Vulcan Logic Dumper, using php 8.0.0