Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/70jrd function name: (null) number of ops: 29 compiled vars: !0 = $a1, !1 = $a2 line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > ASSIGN !0, <array> 4 1 ASSIGN !1, <array> 5 2 ASSERT_CHECK 3 INIT_FCALL 'assert' 4 INIT_FCALL_BY_NAME 'comp' 5 SEND_VAR_EX !0 6 SEND_VAR_EX !1 7 DO_FCALL 0 $4 8 TYPE_CHECK 8 ~5 $4 9 SEND_VAL ~5 10 SEND_VAL 'assert%28comp%28%24a1%2C+%24a2%29+%3D%3D%3D+TRUE%29' 11 DO_ICALL 7 12 ASSIGN !0, <array> 8 13 ASSIGN !1, <array> 10 14 ASSIGN !0, <array> 11 15 ASSIGN !1, <array> 13 16 ASSIGN !0, <array> 14 17 ASSIGN !1, <array> 16 18 ASSIGN !0, <array> 17 19 ASSIGN !1, null 19 20 ASSIGN !0, <array> 20 21 ASSIGN !1, <array> 22 22 ASSIGN !0, <array> 23 23 ASSIGN !1, <array> 25 24 ASSIGN !0, <array> 26 25 ASSIGN !1, <array> 28 26 ASSIGN !0, <array> 29 27 ASSIGN !1, <array> 56 28 > RETURN 1 Function comp: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 12 Branch analysis from position: 10 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 18 Branch analysis from position: 13 1 jumps found. (Code = 42) Position 1 = 19 Branch analysis from position: 19 2 jumps found. (Code = 46) Position 1 = 21, Position 2 = 22 Branch analysis from position: 21 2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 28 Branch analysis from position: 23 1 jumps found. (Code = 42) Position 1 = 29 Branch analysis from position: 29 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 28 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 22 Branch analysis from position: 18 2 jumps found. (Code = 46) Position 1 = 21, Position 2 = 22 Branch analysis from position: 21 Branch analysis from position: 22 Branch analysis from position: 12 filename: /in/70jrd function name: comp number of ops: 40 compiled vars: !0 = $array1, !1 = $array2, !2 = $valid_comparison, !3 = $equal_squares line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 33 0 E > RECV_INIT !0 null 1 RECV_INIT !1 null 34 2 COALESCE ~4 !0 3 QM_ASSIGN ~4 <array> 4 ASSIGN !0, ~4 35 5 COALESCE ~6 !1 6 QM_ASSIGN ~6 <array> 7 ASSIGN !1, ~6 36 8 TYPE_CHECK 1020 ~8 !0 9 > JMPZ_EX ~8 ~8, ->12 10 > TYPE_CHECK 1020 ~9 !1 11 BOOL ~8 ~9 12 > > JMPZ ~8, ->18 13 > INIT_ARRAY ~10 !0 14 ADD_ARRAY_ELEMENT ~10 !1 15 INIT_ARRAY ~11 ~10 16 QM_ASSIGN ~12 ~11 17 > JMP ->19 18 > QM_ASSIGN ~12 <array> 19 > ASSIGN !2, ~12 37 20 > JMPZ_EX ~14 !0, ->22 21 > BOOL ~14 !1 22 > > JMPZ ~14, ->28 23 > INIT_ARRAY ~15 !0 24 ADD_ARRAY_ELEMENT ~15 !1 25 INIT_ARRAY ~16 ~15 26 QM_ASSIGN ~17 ~16 27 > JMP ->29 28 > QM_ASSIGN ~17 <array> 29 > ASSIGN !2, ~17 38 30 INIT_FCALL 'array_reduce' 31 SEND_VAR !2 32 SEND_VAL 'compare_against_squares' 33 SEND_VAL <false> 34 DO_ICALL $19 35 ASSIGN !3, $19 39 36 VERIFY_RETURN_TYPE !3 37 > RETURN !3 40 38* VERIFY_RETURN_TYPE 39* > RETURN null End of function comp Function compare_against_squares: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/70jrd function name: compare_against_squares number of ops: 21 compiled vars: !0 = $carry, !1 = $arrays, !2 = $array1, !3 = $array2, !4 = $array1_squared line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 42 0 E > RECV !0 1 RECV !1 43 2 QM_ASSIGN ~5 !1 3 FETCH_LIST_R $6 ~5, 0 4 ASSIGN !2, $6 5 FETCH_LIST_R $8 ~5, 1 6 ASSIGN !3, $8 7 FREE ~5 44 8 INIT_FCALL 'array_map' 9 SEND_VAL 'square' 10 SEND_VAR !2 11 DO_ICALL $10 12 ASSIGN !4, $10 45 13 INIT_FCALL_BY_NAME 'compare_sorted_arrays' 14 SEND_VAR_EX !4 15 SEND_VAR_EX !3 16 DO_FCALL 0 $12 17 VERIFY_RETURN_TYPE $12 18 > RETURN $12 46 19* VERIFY_RETURN_TYPE 20* > RETURN null End of function compare_against_squares Function compare_sorted_arrays: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/70jrd function name: compare_sorted_arrays number of ops: 13 compiled vars: !0 = $array1, !1 = $array2 line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 48 0 E > RECV !0 1 RECV !1 49 2 INIT_FCALL 'sort' 3 SEND_REF !0 4 DO_ICALL 50 5 INIT_FCALL 'sort' 6 SEND_REF !1 7 DO_ICALL 51 8 IS_EQUAL ~4 !0, !1 9 VERIFY_RETURN_TYPE ~4 10 > RETURN ~4 52 11* VERIFY_RETURN_TYPE 12* > RETURN null End of function compare_sorted_arrays Function square: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/70jrd function name: square number of ops: 6 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 54 0 E > RECV !0 55 1 MUL ~1 !0, !0 2 VERIFY_RETURN_TYPE ~1 3 > RETURN ~1 56 4* VERIFY_RETURN_TYPE 5* > RETURN null End of function square
Generated using Vulcan Logic Dumper, using php 8.0.0