Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/lBhGp function name: (null) number of ops: 4 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 18 0 E > INIT_FCALL 'perfect' 1 SEND_VAL 42 2 DO_FCALL 0 20 3 > RETURN 1 Function perfect: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5 Branch analysis from position: 3 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 15 Branch analysis from position: 15 2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7 Branch analysis from position: 17 2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 25 Branch analysis from position: 23 1 jumps found. (Code = 42) Position 1 = 26 Branch analysis from position: 26 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 25 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 7 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13 Branch analysis from position: 10 1 jumps found. (Code = 42) Position 1 = 14 Branch analysis from position: 14 2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7 Branch analysis from position: 17 Branch analysis from position: 7 Branch analysis from position: 13 2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 7 Branch analysis from position: 17 Branch analysis from position: 7 filename: /in/lBhGp function name: perfect number of ops: 28 compiled vars: !0 = $n, !1 = $i, !2 = $factors line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 2 0 E > RECV !0 3 1 IS_SMALLER !0, 1 2 > JMPZ ~3, ->5 4 3 > ECHO 'Number+has+to+be+Positive.' 5 4 > RETURN <false> 7 5 > ASSIGN !1, 1 6 > JMP ->15 8 7 > MOD ~5 !0, !1 8 IS_EQUAL ~5, 0 9 > JMPZ ~6, ->13 9 10 > ASSIGN_DIM !2 11 OP_DATA !1 12 > JMP ->14 12 13 > ECHO 'Nope.' 7 14 > PRE_INC !1 15 > IS_SMALLER_OR_EQUAL !1, !0 16 > JMPNZ ~9, ->7 15 17 > INIT_FCALL 'array_sum' 18 SEND_VAR !2 19 DO_ICALL $10 20 DIV ~11 $10, 2 21 IS_EQUAL !0, ~11 22 > JMPZ ~12, ->25 23 > QM_ASSIGN ~13 <true> 24 > JMP ->26 25 > QM_ASSIGN ~13 <false> 26 > > RETURN ~13 16 27* > RETURN null End of function perfect
Generated using Vulcan Logic Dumper, using php 8.0.0