Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
Branch analysis from position: 9
filename: /in/Nro2k
function name: (null)
number of ops: 48
compiled vars: !0 = $data, !1 = $base, !2 = $extra
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
22 0 E > ASSIGN !0, <array>
23 1 > JMPZ <true>, ->4
2 > QM_ASSIGN ~4 256
3 > JMP ->5
4 > QM_ASSIGN ~4 0
5 > ASSIGN !1, ~4
24 6 > JMPZ <true>, ->9
7 > QM_ASSIGN ~6 15
8 > JMP ->10
9 > QM_ASSIGN ~6 0
10 > ASSIGN !2, ~6
26 11 ECHO 'json_encode%3A+++++++++++++++++'
12 INIT_FCALL 'json_encode'
13 SEND_VAR !0
14 SEND_VAR !1
15 DO_ICALL $8
16 ECHO $8
17 ECHO '%0A'
27 18 ECHO 'raw_json_encode%3A+++++++++++++'
19 INIT_FCALL 'raw_json_encode'
20 SEND_VAR !0
21 DO_FCALL 0 $9
22 ECHO $9
23 ECHO '%0A'
29 24 ECHO '%0A---%0A%0A'
31 25 ECHO 'json_encode%3A+++++++++++++++++'
26 INIT_FCALL 'json_encode'
27 SEND_VAR !0
28 SEND_VAR !1
29 DO_ICALL $10
30 ECHO $10
31 ECHO '%0A'
32 32 ECHO 'raw_json_encode%3A+++++++++++++'
33 INIT_FCALL 'raw_json_encode'
34 SEND_VAR !0
35 SEND_VAR !2
36 DO_FCALL 0 $11
37 ECHO $11
38 ECHO '%0A'
33 39 ECHO 'raw_json_encode+%28redundant%29%3A+'
40 INIT_FCALL 'raw_json_encode'
41 SEND_VAR !0
42 BW_OR ~12 !1, !2
43 SEND_VAL ~12
44 DO_FCALL 0 $13
45 ECHO $13
46 ECHO '%0A'
46 47 > RETURN 1
Function callback:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/Nro2k
function name: callback
number of ops: 12
compiled vars: !0 = $m
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > RECV !0
5 1 INIT_FCALL 'html_entity_decode'
2 ROPE_INIT 3 ~3 '%26%23x'
3 FETCH_DIM_R ~1 !0, 1
4 ROPE_ADD 1 ~3 ~3, ~1
5 ROPE_END 2 ~2 ~3, '%3B'
6 SEND_VAL ~2
7 SEND_VAL 3
8 SEND_VAL 'UTF-8'
9 DO_ICALL $5
10 > RETURN $5
6 11* > RETURN null
End of function callback
Function raw_json_encode:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 32
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 53
Branch analysis from position: 47
1 jumps found. (Code = 42) Position 1 = 57
Branch analysis from position: 57
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 53
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 53
Branch analysis from position: 47
Branch analysis from position: 53
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 32
Branch analysis from position: 30
Branch analysis from position: 32
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25
Branch analysis from position: 23
Branch analysis from position: 25
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
Branch analysis from position: 18
filename: /in/Nro2k
function name: raw_json_encode
number of ops: 61
compiled vars: !0 = $input, !1 = $flags, !2 = $fails, !3 = $pattern
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
8 0 E > RECV !0
1 RECV_INIT !1 0
9 2 INIT_FCALL 'implode'
3 SEND_VAL '%7C'
4 INIT_FCALL 'array_filter'
10 5 INIT_ARRAY ~4 '%5C%5C'
6 BW_AND ~5 !1, 1
7 BOOL ~6 ~5
8 > JMPZ ~6, ->11
11 9 > QM_ASSIGN ~7 'u003%5BCE%5D'
10 > JMP ->12
11 > QM_ASSIGN ~7 ''
12 > ADD_ARRAY_ELEMENT ~4 ~7
10 13 BW_AND ~8 !1, 2
14 BOOL ~9 ~8
15 > JMPZ ~9, ->18
12 16 > QM_ASSIGN ~10 'u0026'
17 > JMP ->19
18 > QM_ASSIGN ~10 ''
19 > ADD_ARRAY_ELEMENT ~4 ~10
10 20 BW_AND ~11 !1, 4
21 BOOL ~12 ~11
22 > JMPZ ~12, ->25
13 23 > QM_ASSIGN ~13 'u0027'
24 > JMP ->26
25 > QM_ASSIGN ~13 ''
26 > ADD_ARRAY_ELEMENT ~4 ~13
10 27 BW_AND ~14 !1, 8
28 BOOL ~15 ~14
29 > JMPZ ~15, ->32
14 30 > QM_ASSIGN ~16 'u0022'
31 > JMP ->33
32 > QM_ASSIGN ~16 ''
33 > ADD_ARRAY_ELEMENT ~4 ~16
34 SEND_VAL ~4
9 35 DO_ICALL $17
14 36 SEND_VAR $17
9 37 DO_ICALL $18
38 ASSIGN !2, $18
16 39 ROPE_INIT 3 ~21 '%2F%5C%5C%28%3F%3A%28%3F%3A'
40 ROPE_ADD 1 ~21 ~21, !2
41 ROPE_END 2 ~20 ~21, '%29%28%2ASKIP%29%28%2AFAIL%29%7Cu%28%5B0-9a-fA-F%5D%7B4%7D%29%29%2F'
42 ASSIGN !3, ~20
17 43 INIT_FCALL 'preg_replace_callback'
44 SEND_VAR !3
45 SEND_VAL 'callback'
18 46 > JMPZ <true>, ->53
47 > INIT_FCALL 'json_encode'
48 SEND_VAR !0
49 SEND_VAR !1
50 DO_ICALL $24
51 QM_ASSIGN ~25 $24
52 > JMP ->57
53 > INIT_FCALL 'json_encode'
54 SEND_VAR !0
55 DO_ICALL $26
56 QM_ASSIGN ~25 $26
57 > SEND_VAL ~25
17 58 DO_ICALL $27
18 59 > RETURN $27
20 60* > RETURN null
End of function raw_json_encode
Generated using Vulcan Logic Dumper, using php 8.0.0