Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 47
Branch analysis from position: 47
2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 35
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 51, Position 2 = 35
Branch analysis from position: 51
Branch analysis from position: 35
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
Branch analysis from position: 26
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 29
Branch analysis from position: 28
1 jumps found. (Code = 42) Position 1 = 47
Branch analysis from position: 47
Branch analysis from position: 29
filename: /in/lhqMFm
function name: (null)
number of ops: 59
compiled vars: !0 = $db, !1 = $mysqli, !2 = $balai, !3 = $sql, !4 = $hasil, !5 = $result, !6 = $data
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
2 0 E > INIT_FCALL 'header'
1 SEND_VAL 'Content-type%3A+application%2Fjson'
2 DO_ICALL
3 3 INCLUDE_OR_EVAL 'config%2Fdatabase.php', REQUIRE_ONCE
4 4 NEW $9 'database'
5 DO_FCALL 0
6 ASSIGN !0, $9
5 7 INIT_METHOD_CALL !0, 'connect'
8 DO_FCALL 0 $12
9 ASSIGN !1, $12
6 10 INIT_FCALL_BY_NAME 'mysqli_real_escape_string'
11 SEND_VAR_EX !1
12 CHECK_FUNC_ARG
13 FETCH_FUNC_ARG global $14 '_GET'
14 FETCH_DIM_FUNC_ARG $15 $14, 'balai'
15 SEND_FUNC_ARG $15
16 DO_FCALL 0 $16
17 ASSIGN !2, $16
7 18 IS_EQUAL !2, 'bl-1'
19 > JMPZ ~18, ->22
8 20 > ASSIGN !3, 'SELECT+plan%2C+actual+FROM+scurve1+ORDER+BY+id+ASC'
7 21 > JMP ->29
9 22 > IS_EQUAL !2, 'bl-2'
23 > JMPZ ~20, ->26
10 24 > ASSIGN !3, 'SELECT+plan%2C+actual+FROM+scurve2+ORDER+BY+id+ASC'
9 25 > JMP ->29
11 26 > IS_EQUAL !2, 'bl-3'
27 > JMPZ ~22, ->29
12 28 > ASSIGN !3, 'SELECT+plan%2C+actual+FROM+scurve3+ORDER+BY+id+ASC'
14 29 > ASSIGN !4, <array>
15 30 INIT_METHOD_CALL !1, 'query'
31 SEND_VAR_EX !3
32 DO_FCALL 0 $25
33 ASSIGN !5, $25
16 34 > JMP ->47
17 35 > INIT_ARRAY ~29 'Plan', 'name'
36 FETCH_DIM_R ~30 !6, 'plan'
37 ADD_ARRAY_ELEMENT ~29 ~30, 'data'
38 FETCH_DIM_W $27 !4, 'data'
39 ASSIGN_DIM $27
40 OP_DATA ~29
18 41 INIT_ARRAY ~33 'Actual', 'name'
42 FETCH_DIM_R ~34 !6, 'actual'
43 ADD_ARRAY_ELEMENT ~33 ~34, 'data'
44 FETCH_DIM_W $31 !4, 'data'
45 ASSIGN_DIM $31
46 OP_DATA ~33
16 47 > INIT_METHOD_CALL !5, 'fetch_assoc'
48 DO_FCALL 0 $35
49 ASSIGN ~36 !6, $35
50 > JMPNZ ~36, ->35
21 51 > INIT_FCALL 'json_encode'
52 SEND_VAR !4
53 SEND_VAL 32
54 DO_ICALL $37
55 ECHO $37
22 56 INIT_METHOD_CALL !1, 'close'
57 DO_FCALL 0
58 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.5.0