Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/5D1Mk
function name: (null)
number of ops: 19
compiled vars: !0 = $arr, !1 = $arr_str, !2 = $encoded
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
4 1 INIT_FCALL 'json_encode'
2 SEND_VAR !0
3 DO_ICALL $4
4 ASSIGN !1, $4
5 5 INIT_FCALL_BY_NAME 'base64url_encode'
6 SEND_VAR_EX !1
7 DO_FCALL 0 $6
8 ASSIGN !2, $6
15 9 INIT_FCALL 'var_dump'
10 SEND_VAR !0
11 SEND_VAR !1
12 SEND_VAR !2
13 INIT_FCALL 'base64url_decode'
14 SEND_VAR !2
15 DO_FCALL 0 $8
16 SEND_VAR $8
17 DO_ICALL
18 > RETURN 1
Function base64url_encode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/5D1Mk
function name: base64url_encode
number of ops: 15
compiled vars: !0 = $data
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
7 0 E > RECV !0
8 1 INIT_FCALL 'rtrim'
2 INIT_FCALL 'strtr'
3 INIT_FCALL 'base64_encode'
4 SEND_VAR !0
5 DO_ICALL $1
6 SEND_VAR $1
7 SEND_VAL '%2B%2F'
8 SEND_VAL '-_'
9 DO_ICALL $2
10 SEND_VAR $2
11 SEND_VAL '%3D'
12 DO_ICALL $3
13 > RETURN $3
9 14* > RETURN null
End of function base64url_encode
Function base64url_decode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/5D1Mk
function name: base64url_decode
number of ops: 19
compiled vars: !0 = $data
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
11 0 E > RECV !0
12 1 INIT_FCALL 'base64_decode'
2 INIT_FCALL 'str_pad'
3 INIT_FCALL 'strtr'
4 SEND_VAR !0
5 SEND_VAL '-_'
6 SEND_VAL '%2B%2F'
7 DO_ICALL $1
8 SEND_VAR $1
9 STRLEN ~2 !0
10 MOD ~3 ~2, 4
11 SEND_VAL ~3
12 SEND_VAL '%3D'
13 SEND_VAL 1
14 DO_ICALL $4
15 SEND_VAR $4
16 DO_ICALL $5
17 > RETURN $5
13 18* > RETURN null
End of function base64url_decode
Generated using Vulcan Logic Dumper, using php 8.0.0