Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/D3j7V function name: (null) number of ops: 6 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 25 0 E > INIT_FCALL 'gap' 1 SEND_VAL 2 2 SEND_VAL 100 3 SEND_VAL 110 4 DO_FCALL 0 5 > RETURN 1 Function gap: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 46 Branch analysis from position: 8 2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 46 Branch analysis from position: 9 2 jumps found. (Code = 46) Position 1 = 17, Position 2 = 19 Branch analysis from position: 17 2 jumps found. (Code = 46) Position 1 = 20, Position 2 = 23 Branch analysis from position: 20 2 jumps found. (Code = 46) Position 1 = 30, Position 2 = 32 Branch analysis from position: 30 2 jumps found. (Code = 46) Position 1 = 33, Position 2 = 36 Branch analysis from position: 33 2 jumps found. (Code = 43) Position 1 = 38, Position 2 = 43 Branch analysis from position: 38 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 43 2 jumps found. (Code = 43) Position 1 = 44, Position 2 = 45 Branch analysis from position: 44 1 jumps found. (Code = 42) Position 1 = 8 Branch analysis from position: 8 Branch analysis from position: 45 Branch analysis from position: 36 Branch analysis from position: 32 Branch analysis from position: 23 Branch analysis from position: 19 Branch analysis from position: 46 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 46 filename: /in/D3j7V function name: gap number of ops: 49 compiled vars: !0 = $g, !1 = $m, !2 = $n, !3 = $num, !4 = $isPrime, !5 = $firstPrime line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > RECV !0 1 RECV !1 2 RECV !2 4 3 INIT_FCALL 'range' 4 SEND_VAR !1 5 SEND_VAR !2 6 DO_ICALL $6 7 > FE_RESET_R $7 $6, ->46 8 > > FE_FETCH_R $7, !3, ->46 5 9 > INIT_FCALL 'var_dump' 10 SEND_VAR !3 11 DO_ICALL 6 12 INIT_FCALL 'var_dump' 13 INIT_FCALL_BY_NAME 'isPrime' 14 SEND_VAR_EX !3 15 DO_FCALL 0 $9 16 > JMPZ_EX ~10 $9, ->19 17 > ISSET_ISEMPTY_CV ~11 !5 18 BOOL ~10 ~11 19 > > JMPZ_EX ~10 ~10, ->23 20 > SUB ~12 !3, !5 21 IS_EQUAL ~13 !0, ~12 22 BOOL ~10 ~13 23 > ASSIGN ~14 !4, ~10 24 SEND_VAL ~14 25 DO_ICALL 7 26 INIT_FCALL_BY_NAME 'isPrime' 27 SEND_VAR_EX !3 28 DO_FCALL 0 $16 29 > JMPZ_EX ~17 $16, ->32 30 > ISSET_ISEMPTY_CV ~18 !5 31 BOOL ~17 ~18 32 > > JMPZ_EX ~17 ~17, ->36 33 > SUB ~19 !3, !5 34 IS_EQUAL ~20 !0, ~19 35 BOOL ~17 ~20 36 > ASSIGN ~21 !4, ~17 37 > JMPZ ~21, ->43 8 38 > INIT_ARRAY ~22 !5 39 ADD_ARRAY_ELEMENT ~22 !3 40 FE_FREE $7 41 > RETURN ~22 42* JMP ->45 9 43 > > JMPZ !4, ->45 10 44 > ASSIGN !5, !3 4 45 > > JMP ->8 46 > FE_FREE $7 13 47 > RETURN null 14 48* > RETURN null End of function gap Function isprime: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 7 Branch analysis from position: 7 2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3 Branch analysis from position: 11 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 3 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6 Branch analysis from position: 5 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 6 2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3 Branch analysis from position: 11 Branch analysis from position: 3 filename: /in/D3j7V function name: isPrime number of ops: 13 compiled vars: !0 = $num, !1 = $n, !2 = $div line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 16 0 E > RECV !0 17 1 ASSIGN !1, 2 2 > JMP ->7 18 3 > TYPE_CHECK 16 !2 4 > JMPZ ~4, ->6 19 5 > > RETURN <false> 17 6 > PRE_INC !1 7 > DIV ~6 !0, !1 8 ASSIGN ~7 !2, ~6 9 IS_SMALLER !1, ~7 10 > JMPNZ ~8, ->3 22 11 > > RETURN <true> 23 12* > RETURN null End of function isprime
Generated using Vulcan Logic Dumper, using php 8.0.0