Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 19 Branch analysis from position: 19 2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3 Branch analysis from position: 20 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 3 2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 12 Branch analysis from position: 8 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 18 Branch analysis from position: 13 2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18 Branch analysis from position: 16 1 jumps found. (Code = 42) Position 1 = 20 Branch analysis from position: 20 Branch analysis from position: 18 2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3 Branch analysis from position: 20 Branch analysis from position: 3 Branch analysis from position: 18 Branch analysis from position: 12 filename: /in/UiOFq function name: (null) number of ops: 21 compiled vars: !0 = $foundPrimes, !1 = $i line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 16 0 E > ASSIGN !0, 0 17 1 ASSIGN !1, 1 2 > JMP ->19 18 3 > INIT_FCALL 'firstandlastdigitequal' 4 SEND_VAR !1 5 SEND_VAL 3 6 DO_FCALL 0 $4 7 > JMPZ_EX ~5 $4, ->12 8 > INIT_FCALL 'isprime' 9 SEND_VAR !1 10 DO_FCALL 0 $6 11 BOOL ~5 $6 12 > > JMPZ ~5, ->18 19 13 > PRE_INC ~7 !0 14 IS_EQUAL ~7, 333 15 > JMPZ ~8, ->18 20 16 > ECHO !1 21 17 > JMP ->20 17 18 > PRE_INC !1 19 > > JMPNZ <true>, ->3 24 20 > > RETURN 1 Function isprime: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 8 Branch analysis from position: 8 2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3 Branch analysis from position: 10 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 3 2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 7 Branch analysis from position: 6 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 7 2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3 Branch analysis from position: 10 Branch analysis from position: 3 filename: /in/UiOFq function name: isPrime number of ops: 12 compiled vars: !0 = $num, !1 = $i line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > RECV !0 4 1 ASSIGN !1, 2 2 > JMP ->8 5 3 > MOD ~3 !0, !1 4 IS_EQUAL ~3, 0 5 > JMPZ ~4, ->7 6 6 > > RETURN <false> 4 7 > PRE_INC !1 8 > IS_SMALLER !1, !0 9 > JMPNZ ~6, ->3 9 10 > > RETURN <true> 10 11* > RETURN null End of function isprime Function firstandlastdigitequal: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 17 Branch analysis from position: 10 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 17 filename: /in/UiOFq function name: firstAndLastDigitEqual number of ops: 19 compiled vars: !0 = $num, !1 = $digit line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 12 0 E > RECV !0 1 RECV !1 13 2 INIT_FCALL 'substr' 3 SEND_VAR !0 4 SEND_VAL 0 5 SEND_VAL 1 6 DO_ICALL $2 7 CAST 6 ~3 !1 8 IS_EQUAL ~4 $2, ~3 9 > JMPZ_EX ~4 ~4, ->17 10 > INIT_FCALL 'substr' 11 SEND_VAR !0 12 SEND_VAL -1 13 DO_ICALL $5 14 CAST 6 ~6 !1 15 IS_EQUAL ~7 $5, ~6 16 BOOL ~4 ~7 17 > > RETURN ~4 14 18* > RETURN null End of function firstandlastdigitequal
Generated using Vulcan Logic Dumper, using php 8.0.0