Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 36
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 36
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 36
filename: /in/PvdEk
function name: (null)
number of ops: 38
compiled vars: !0 = $json, !1 = $json_data, !2 = $shops, !3 = $distances, !4 = $locations, !5 = $min, !6 = $location
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > ASSIGN !0, '%7B%0A++%22shops%22%3A+%5B%0A+++%7B%0A++++++%22shop_id%22%3A+%22100%22%2C%0A++++++++++%22locations%22%3A+%5B%0A++++++++++++++++%7B+%22location_id%22%3A+%22100_1%22%2C+%22distance%22%3A+%2210.3%22+%7D%2C%0A++++++++++++++++%7B+%22location_id%22%3A+%22100_2%22%2C+%22distance%22%3A+%2215.2%22+%7D%0A++++++++++%5D%0A++++%7D%2C%0A++++%7B%0A++++++%22shop_id%22%3A+%22101%22%2C%0A++++++++++%22locations%22%3A+%5B%0A++++++++++++++++%7B+%22location_id%22%3A+%22101_1%22%2C+%22distance%22%3A+%2219.3%22+%7D%2C%0A++++++++++++++++%7B+%22location_id%22%3A+%22101_2%22%2C+%22distance%22%3A+%2212.4%22+%7D%0A++++++++++%5D%0A++++%7D%5D%0A%7D'
21 1 INIT_FCALL 'json_decode'
2 SEND_VAR !0
3 SEND_VAL <true>
4 DO_ICALL $8
5 ASSIGN !1, $8
24 6 FETCH_DIM_R ~10 !1, 'shops'
7 > FE_RESET_R $11 ~10, ->36
8 > > FE_FETCH_R $11, !2, ->36
25 9 > INIT_FCALL 'array_column'
10 FETCH_DIM_R ~12 !2, 'locations'
11 SEND_VAL ~12
12 SEND_VAL 'distance'
13 DO_ICALL $13
14 ASSIGN !3, $13
26 15 INIT_FCALL 'array_column'
16 FETCH_DIM_R ~15 !2, 'locations'
17 SEND_VAL ~15
18 SEND_VAL 'location_id'
19 DO_ICALL $16
20 ASSIGN !4, $16
27 21 INIT_FCALL 'min'
22 SEND_VAR !3
23 DO_ICALL $18
24 ASSIGN !5, $18
28 25 INIT_FCALL 'array_search'
26 SEND_VAR !5
27 SEND_VAR !3
28 DO_ICALL $20
29 ASSIGN !6, $20
29 30 FETCH_DIM_R ~22 !4, !6
31 CONCAT ~23 ~22, '+-%3E+'
32 CONCAT ~24 ~23, !5
33 CONCAT ~25 ~24, '%0A'
34 ECHO ~25
24 35 > JMP ->8
36 > FE_FREE $11
30 37 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0