Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 13
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename: /in/CiZb7
function name: (null)
number of ops: 15
compiled vars: !0 = $target
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
56 0 E > INIT_FCALL 'range'
1 SEND_VAL 0
2 SEND_VAL 35
3 DO_ICALL $1
4 > FE_RESET_R $2 $1, ->13
5 > > FE_FETCH_R $2, !0, ->13
57 6 > CONCAT ~3 !0, '%3A+'
7 ECHO ~3
58 8 INIT_FCALL 'rendremonnaie'
9 SEND_VAR !0
10 DO_FCALL 0
59 11 ECHO '%0A'
56 12 > JMP ->5
13 > FE_FREE $2
60 14 > RETURN 1
Function rendremonnaie:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 87
Branch analysis from position: 87
2 jumps found. (Code = 44) Position 1 = 90, Position 2 = 8
Branch analysis from position: 90
1 jumps found. (Code = 42) Position 1 = 98
Branch analysis from position: 98
2 jumps found. (Code = 44) Position 1 = 101, Position 2 = 92
Branch analysis from position: 101
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 92
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 97
Branch analysis from position: 96
2 jumps found. (Code = 44) Position 1 = 101, Position 2 = 92
Branch analysis from position: 101
Branch analysis from position: 92
Branch analysis from position: 97
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 29
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 90
Branch analysis from position: 90
Branch analysis from position: 29
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 48
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 86
Branch analysis from position: 86
2 jumps found. (Code = 44) Position 1 = 90, Position 2 = 8
Branch analysis from position: 90
Branch analysis from position: 8
Branch analysis from position: 48
2 jumps found. (Code = 43) Position 1 = 51, Position 2 = 66
Branch analysis from position: 51
1 jumps found. (Code = 42) Position 1 = 86
Branch analysis from position: 86
Branch analysis from position: 66
2 jumps found. (Code = 44) Position 1 = 90, Position 2 = 8
Branch analysis from position: 90
Branch analysis from position: 8
filename: /in/CiZb7
function name: rendreMonnaie
number of ops: 108
compiled vars: !0 = $montant, !1 = $listeBillets, !2 = $nbEntree, !3 = $message, !4 = $reste, !5 = $result, !6 = $ibillet, !7 = $i
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > RECV !0
6 1 ASSIGN !1, <array>
7 2 ASSIGN !2, 0
8 3 ASSIGN !3, <array>
9 4 ASSIGN !4, 0
10 5 ASSIGN !5, 0
13 6 ASSIGN !6, 0
7 > JMP ->87
15 8 > FETCH_DIM_R ~14 !1, !6
9 MOD ~15 !0, ~14
10 ASSIGN !4, ~15
16 11 IS_EQUAL !4, 0
12 > JMPZ ~17, ->29
19 13 > INIT_FCALL 'intdiv'
14 SEND_VAR !0
15 FETCH_DIM_R ~18 !1, !6
16 SEND_VAL ~18
17 DO_ICALL $19
18 ASSIGN !2, $19
21 19 INIT_FCALL 'array_push'
20 SEND_REF !3
21 ROPE_INIT 3 ~23 !2
22 ROPE_ADD 1 ~23 ~23, '+x+'
23 FETCH_DIM_R ~21 !1, !6
24 ROPE_END 2 ~22 ~23, ~21
25 SEND_VAL ~22
26 DO_ICALL
22 27 > JMP ->90
16 28* JMP ->86
23 29 > FETCH_DIM_R ~26 !1, 2
30 IS_SMALLER_OR_EQUAL ~26, !4
31 > JMPZ ~27, ->48
26 32 > INIT_FCALL 'intdiv'
33 SEND_VAR !0
34 FETCH_DIM_R ~28 !1, !6
35 SEND_VAL ~28
36 DO_ICALL $29
37 ASSIGN !2, $29
28 38 INIT_FCALL 'array_push'
39 SEND_REF !3
40 ROPE_INIT 3 ~33 !2
41 ROPE_ADD 1 ~33 ~33, '+x+'
42 FETCH_DIM_R ~31 !1, !6
43 ROPE_END 2 ~32 ~33, ~31
44 SEND_VAL ~32
45 DO_ICALL
30 46 ASSIGN !0, !4
23 47 > JMP ->86
32 48 > FETCH_DIM_R ~37 !1, !6
49 IS_EQUAL ~37, 2
50 > JMPZ ~38, ->66
33 51 > INIT_FCALL 'intdiv'
52 SEND_VAR !5
53 FETCH_DIM_R ~39 !1, !6
54 SEND_VAL ~39
55 DO_ICALL $40
56 ASSIGN !2, $40
34 57 INIT_FCALL 'array_push'
58 SEND_REF !3
59 ROPE_INIT 3 ~44 !2
60 ROPE_ADD 1 ~44 ~44, '+x+'
61 FETCH_DIM_R ~42 !1, !6
62 ROPE_END 2 ~43 ~44, ~42
63 SEND_VAL ~43
64 DO_ICALL
32 65 > JMP ->86
36 66 > FETCH_DIM_R ~47 !1, !6
67 SUB ~48 !0, ~47
68 ASSIGN !5, ~48
37 69 FETCH_DIM_R ~50 !1, !6
70 MOD ~51 !4, ~50
71 ASSIGN !4, ~51
39 72 INIT_FCALL 'intdiv'
73 SEND_VAR !5
74 FETCH_DIM_R ~53 !1, !6
75 SEND_VAL ~53
76 DO_ICALL $54
77 ASSIGN !2, $54
40 78 INIT_FCALL 'array_push'
79 SEND_REF !3
80 ROPE_INIT 3 ~58 !2
81 ROPE_ADD 1 ~58 ~58, '+x+'
82 FETCH_DIM_R ~56 !1, !6
83 ROPE_END 2 ~57 ~58, ~56
84 SEND_VAL ~57
85 DO_ICALL
13 86 > PRE_INC !6
87 > COUNT ~62 !1
88 IS_SMALLER !6, ~62
89 > JMPNZ ~63, ->8
45 90 > ASSIGN !7, 0
91 > JMP ->98
47 92 > FETCH_DIM_R ~65 !3, !7
93 FETCH_DIM_R ~66 ~65, 0
94 IS_SMALLER ~66, 1
95 > JMPZ ~67, ->97
48 96 > UNSET_DIM !3, !7
45 97 > PRE_INC !7
98 > COUNT ~69 !3
99 IS_SMALLER !7, ~69
100 > JMPNZ ~70, ->92
52 101 > INIT_FCALL 'implode'
102 SEND_VAL '+%2B+'
103 SEND_VAR !3
104 DO_ICALL $71
105 ASSIGN !3, $71
53 106 ECHO !3
54 107 > RETURN null
End of function rendremonnaie
Generated using Vulcan Logic Dumper, using php 8.0.0