Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: (null) number of ops: 34 compiled vars: !0 = $p1, !1 = $p2, !2 = $products, !3 = $s line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 121 0 E > NEW $4 'Product' 1 DO_FCALL 0 2 ASSIGN !0, $4 122 3 INIT_METHOD_CALL !0, 'setPrice' 4 SEND_VAL_EX 36 5 SEND_VAL_EX 1 6 SEND_VAL_EX 0 7 DO_FCALL 0 123 8 INIT_METHOD_CALL !0, 'setDiscount' 9 SEND_VAL_EX 3 10 SEND_VAL_EX 0 11 DO_FCALL 0 124 12 NEW $9 'Product' 13 DO_FCALL 0 14 ASSIGN !1, $9 125 15 INIT_METHOD_CALL !1, 'setPrice' 16 SEND_VAL_EX 44 17 SEND_VAL_EX 1 18 SEND_VAL_EX 10 19 DO_FCALL 0 126 20 INIT_METHOD_CALL !1, 'setDiscount' 21 SEND_VAL_EX 24 22 SEND_VAL_EX 1 23 DO_FCALL 0 127 24 INIT_ARRAY ~14 !0 25 ADD_ARRAY_ELEMENT ~14 !1 26 ASSIGN !2, ~14 128 27 NEW $16 'Shopcart' 28 SEND_VAR_EX !2 29 DO_FCALL 0 30 ASSIGN !3, $16 129 31 INIT_METHOD_CALL !3, 'getCurrentCost' 32 DO_FCALL 0 33 > RETURN 1 Class Product: Function getprice: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getPrice number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 8 0 E > FETCH_OBJ_R ~0 'price' 1 > RETURN ~0 9 2* > RETURN null End of function getprice Function setprice: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: setPrice number of ops: 17 compiled vars: !0 = $price, !1 = $type, !2 = $start_amount line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 11 0 E > RECV !0 1 RECV !1 2 RECV !2 12 3 NEW $4 'Price' 4 SEND_VAR_EX !0 5 DO_FCALL 0 6 ASSIGN_OBJ 'price' 7 OP_DATA $4 13 8 FETCH_OBJ_R ~6 'price' 9 INIT_METHOD_CALL ~6, 'setType' 10 SEND_VAR_EX !1 11 DO_FCALL 0 14 12 FETCH_OBJ_R ~8 'price' 13 INIT_METHOD_CALL ~8, 'setFirstPay' 14 SEND_VAR_EX !2 15 DO_FCALL 0 15 16 > RETURN null End of function setprice Function getdiscount: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getDiscount number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 18 0 E > FETCH_OBJ_R ~0 'discount' 1 > RETURN ~0 19 2* > RETURN null End of function getdiscount Function setdiscount: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: setDiscount number of ops: 12 compiled vars: !0 = $discount, !1 = $type line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 21 0 E > RECV !0 1 RECV !1 22 2 NEW $3 'Discount' 3 SEND_VAR_EX !0 4 DO_FCALL 0 5 ASSIGN_OBJ 'discount' 6 OP_DATA $3 23 7 FETCH_OBJ_R ~5 'discount' 8 INIT_METHOD_CALL ~5, 'setType' 9 SEND_VAR_EX !1 10 DO_FCALL 0 24 11 > RETURN null End of function setdiscount Function getcost: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 15 Branch analysis from position: 10 2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 19 Branch analysis from position: 12 2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 28 Branch analysis from position: 14 1 jumps found. (Code = 42) Position 1 = 40 Branch analysis from position: 40 2 jumps found. (Code = 44) Position 1 = 45, Position 2 = 48 Branch analysis from position: 45 2 jumps found. (Code = 44) Position 1 = 47, Position 2 = 52 Branch analysis from position: 47 1 jumps found. (Code = 42) Position 1 = 61 Branch analysis from position: 61 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 52 1 jumps found. (Code = 42) Position 1 = 61 Branch analysis from position: 61 Branch analysis from position: 48 1 jumps found. (Code = 42) Position 1 = 61 Branch analysis from position: 61 Branch analysis from position: 28 1 jumps found. (Code = 42) Position 1 = 40 Branch analysis from position: 40 Branch analysis from position: 19 1 jumps found. (Code = 42) Position 1 = 40 Branch analysis from position: 40 Branch analysis from position: 15 1 jumps found. (Code = 42) Position 1 = 40 Branch analysis from position: 40 filename: /in/aXSXU function name: getCost number of ops: 65 compiled vars: !0 = $price, !1 = $discount line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 27 0 E > INIT_METHOD_CALL 'getPrice' 1 DO_FCALL 0 $2 2 ASSIGN !0, $2 28 3 INIT_METHOD_CALL 'getDiscount' 4 DO_FCALL 0 $4 5 ASSIGN !1, $4 30 6 INIT_METHOD_CALL !0, 'getType' 7 DO_FCALL 0 $6 31 8 CASE $6, 0 9 > JMPNZ ~7, ->15 34 10 > CASE $6, 1 11 > JMPNZ ~7, ->19 37 12 > CASE $6, 2 13 > JMPNZ ~7, ->28 14 > > JMP ->40 32 15 > INIT_METHOD_CALL !0, 'getValue' 16 DO_FCALL 0 $8 17 ASSIGN !0, $8 33 18 > JMP ->40 35 19 > INIT_FCALL 'round' 20 INIT_METHOD_CALL !0, 'getValue' 21 DO_FCALL 0 $10 22 DIV ~11 $10, 12 23 SEND_VAL ~11 24 SEND_VAL 2 25 DO_ICALL $12 26 ASSIGN !0, $12 36 27 > JMP ->40 38 28 > INIT_METHOD_CALL !0, 'getFirstPay' 29 DO_FCALL 0 $14 30 INIT_FCALL 'round' 31 INIT_METHOD_CALL !0, 'getValue' 32 DO_FCALL 0 $15 33 DIV ~16 $15, 12 34 SEND_VAL ~16 35 SEND_VAL 2 36 DO_ICALL $17 37 ADD ~18 $14, $17 38 ASSIGN !0, ~18 39 39 > JMP ->40 40 > FREE $6 42 41 INIT_METHOD_CALL !1, 'getType' 42 DO_FCALL 0 $20 43 43 CASE $20, 0 44 > JMPNZ ~21, ->48 46 45 > CASE $20, 1 46 > JMPNZ ~21, ->52 47 > > JMP ->61 44 48 > INIT_METHOD_CALL !1, 'getValue' 49 DO_FCALL 0 $22 50 ASSIGN !1, $22 45 51 > JMP ->61 47 52 > INIT_FCALL 'round' 53 INIT_METHOD_CALL !1, 'getValue' 54 DO_FCALL 0 $24 55 DIV ~25 $24, 12 56 SEND_VAL ~25 57 SEND_VAL 2 58 DO_ICALL $26 59 ASSIGN !1, $26 48 60 > JMP ->61 61 > FREE $20 51 62 SUB ~28 !0, !1 63 > RETURN ~28 52 64* > RETURN null End of function getcost End of class Product. Class Price: Function __construct: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 13 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 15 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: __construct number of ops: 16 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 61 0 E > RECV !0 62 1 INIT_FCALL 'is_numeric' 2 SEND_VAR !0 3 DO_ICALL $1 4 > JMPZ $1, ->13 63 5 > INIT_FCALL 'round' 6 CAST 5 ~3 !0 7 SEND_VAL ~3 8 SEND_VAL 2 9 DO_ICALL $4 10 ASSIGN_OBJ 'value' 11 OP_DATA $4 12 > JMP ->15 65 13 > ASSIGN_OBJ 'value' 14 OP_DATA 0 67 15 > > RETURN null End of function __construct Function gettype: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getType number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 70 0 E > FETCH_OBJ_R ~0 'type' 1 > RETURN ~0 71 2* > RETURN null End of function gettype Function settype: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 11 Branch analysis from position: 5 2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16 Branch analysis from position: 12 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 16 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 11 filename: /in/aXSXU function name: setType number of ops: 19 compiled vars: !0 = $type line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 73 0 E > RECV !0 74 1 INIT_FCALL 'is_numeric' 2 SEND_VAR !0 3 DO_ICALL $1 4 > JMPZ_EX ~2 $1, ->11 5 > INIT_FCALL 'in_array' 6 CAST 4 ~3 !0 7 SEND_VAL ~3 8 SEND_VAL <array> 9 DO_ICALL $4 10 BOOL ~2 $4 11 > > JMPZ ~2, ->16 75 12 > CAST 4 ~6 !0 13 ASSIGN_OBJ 'type' 14 OP_DATA ~6 15 > JMP ->18 77 16 > ASSIGN_OBJ 'type' 17 OP_DATA 0 79 18 > > RETURN null End of function settype Function getvalue: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getValue number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 82 0 E > FETCH_OBJ_R ~0 'value' 1 > RETURN ~0 83 2* > RETURN null End of function getvalue Function getfirstpay: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getFirstPay number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 86 0 E > FETCH_OBJ_R ~0 'first_pay' 1 > RETURN ~0 87 2* > RETURN null End of function getfirstpay Function setfirstpay: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 13 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 15 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: setFirstPay number of ops: 16 compiled vars: !0 = $amount line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 89 0 E > RECV !0 90 1 INIT_FCALL 'is_numeric' 2 SEND_VAR !0 3 DO_ICALL $1 4 > JMPZ $1, ->13 91 5 > INIT_FCALL 'round' 6 CAST 5 ~3 !0 7 SEND_VAL ~3 8 SEND_VAL 2 9 DO_ICALL $4 10 ASSIGN_OBJ 'first_pay' 11 OP_DATA $4 12 > JMP ->15 93 13 > ASSIGN_OBJ 'first_pay' 14 OP_DATA 0 95 15 > > RETURN null End of function setfirstpay End of class Price. Class Discount: Function __construct: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 13 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 15 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: __construct number of ops: 16 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 61 0 E > RECV !0 62 1 INIT_FCALL 'is_numeric' 2 SEND_VAR !0 3 DO_ICALL $1 4 > JMPZ $1, ->13 63 5 > INIT_FCALL 'round' 6 CAST 5 ~3 !0 7 SEND_VAL ~3 8 SEND_VAL 2 9 DO_ICALL $4 10 ASSIGN_OBJ 'value' 11 OP_DATA $4 12 > JMP ->15 65 13 > ASSIGN_OBJ 'value' 14 OP_DATA 0 67 15 > > RETURN null End of function __construct Function gettype: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getType number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 70 0 E > FETCH_OBJ_R ~0 'type' 1 > RETURN ~0 71 2* > RETURN null End of function gettype Function settype: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 11 Branch analysis from position: 5 2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 16 Branch analysis from position: 12 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 16 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 11 filename: /in/aXSXU function name: setType number of ops: 19 compiled vars: !0 = $type line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 73 0 E > RECV !0 74 1 INIT_FCALL 'is_numeric' 2 SEND_VAR !0 3 DO_ICALL $1 4 > JMPZ_EX ~2 $1, ->11 5 > INIT_FCALL 'in_array' 6 CAST 4 ~3 !0 7 SEND_VAL ~3 8 SEND_VAL <array> 9 DO_ICALL $4 10 BOOL ~2 $4 11 > > JMPZ ~2, ->16 75 12 > CAST 4 ~6 !0 13 ASSIGN_OBJ 'type' 14 OP_DATA ~6 15 > JMP ->18 77 16 > ASSIGN_OBJ 'type' 17 OP_DATA 0 79 18 > > RETURN null End of function settype Function getvalue: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getValue number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 82 0 E > FETCH_OBJ_R ~0 'value' 1 > RETURN ~0 83 2* > RETURN null End of function getvalue Function getfirstpay: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: getFirstPay number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 86 0 E > FETCH_OBJ_R ~0 'first_pay' 1 > RETURN ~0 87 2* > RETURN null End of function getfirstpay Function setfirstpay: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 13 Branch analysis from position: 5 1 jumps found. (Code = 42) Position 1 = 15 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: setFirstPay number of ops: 16 compiled vars: !0 = $amount line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 89 0 E > RECV !0 90 1 INIT_FCALL 'is_numeric' 2 SEND_VAR !0 3 DO_ICALL $1 4 > JMPZ $1, ->13 91 5 > INIT_FCALL 'round' 6 CAST 5 ~3 !0 7 SEND_VAL ~3 8 SEND_VAL 2 9 DO_ICALL $4 10 ASSIGN_OBJ 'first_pay' 11 OP_DATA $4 12 > JMP ->15 93 13 > ASSIGN_OBJ 'first_pay' 14 OP_DATA 0 95 15 > > RETURN null End of function setfirstpay End of class Discount. Class Shopcart: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/aXSXU function name: __construct number of ops: 5 compiled vars: !0 = $products line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 107 0 E > RECV !0 108 1 FETCH_OBJ_W $1 'shopping_list' 2 ASSIGN_DIM $1 3 OP_DATA !0 109 4 > RETURN null End of function __construct Function getcurrentcost: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 10 Branch analysis from position: 3 2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 10 Branch analysis from position: 4 1 jumps found. (Code = 42) Position 1 = 3 Branch analysis from position: 3 Branch analysis from position: 10 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 10 filename: /in/aXSXU function name: getCurrentCost number of ops: 13 compiled vars: !0 = $cost, !1 = $item line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 112 0 E > ASSIGN
Generated using Vulcan Logic Dumper, using php 8.0.0