Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/cpQnU
function name: (null)
number of ops: 5
compiled vars: none
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
24 0 E > INIT_FCALL 'primesum'
1 SEND_VAL 20
2 SEND_VAL 10
3 DO_FCALL 0
4 > RETURN 1
Function primesum:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 5
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 8
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 5
Branch analysis from position: 22
Branch analysis from position: 5
Branch analysis from position: 19
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 8
Branch analysis from position: 16
Branch analysis from position: 8
filename: /in/cpQnU
function name: primeSum
number of ops: 26
compiled vars: !0 = $n, !1 = $k, !2 = $primeNumbers, !3 = $i, !4 = $found, !5 = $j
line #* E I O op fetch ext return operands
-----------------------------------------------------------------------------------------
3 0 E > RECV !0
1 RECV !1
4 2 ASSIGN !2, <array>
6 3 ASSIGN !3, 2
4 > JMP ->20
7 5 > ASSIGN !4, <true>
8 6 ASSIGN !5, 2
7 > JMP ->14
9 8 > MOD ~10 !3, !5
9 IS_IDENTICAL ~10, 0
10 > JMPZ ~11, ->13
10 11 > ASSIGN !4, <false>
11 12 > JMP ->16
8 13 > PRE_INC !5
14 > IS_SMALLER !5, !3
15 > JMPNZ ~14, ->8
15 16 > > JMPZ !4, ->19
16 17 > ASSIGN_DIM !2, !3
18 OP_DATA 1
6 19 > PRE_INC !3
20 > IS_SMALLER_OR_EQUAL !3, !0
21 > JMPNZ ~17, ->5
20 22 > INIT_FCALL 'var_dump'
23 SEND_VAR !2
24 DO_ICALL
22 25 > RETURN null
End of function primesum
Generated using Vulcan Logic Dumper, using php 8.5.0