Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pipik function name: (null) number of ops: 59 compiled vars: !0 = $revenue, !1 = $assets line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 29 0 E > ECHO 'True%2FObject+comparison+with+loosy+operator%3A%0D%0A' 30 1 INIT_FCALL 'var_dump' 2 NEW $2 'Money' 3 SEND_VAL_EX 55 4 DO_FCALL 0 5 BOOL ~4 $2 6 SEND_VAL ~4 7 DO_ICALL 32 8 ECHO 'True%2FObject+comparision+with+strict+operator%3A%0D%0A' 33 9 INIT_FCALL 'var_dump' 10 NEW $6 'Money' 11 SEND_VAL_EX 55 12 DO_FCALL 0 13 TYPE_CHECK 8 ~8 $6 14 SEND_VAL ~8 15 DO_ICALL 35 16 ECHO 'False%2FNull+comparison+with+loose+operator%3A%0D%0A' 36 17 INIT_FCALL 'var_dump' 18 SEND_VAL <true> 19 DO_ICALL 38 20 ECHO 'False%2FNull+comparision+with+strict+operator%3A%0D%0A' 39 21 INIT_FCALL 'var_dump' 22 SEND_VAL <false> 23 DO_ICALL 42 24 NEW $12 'Money' 25 SEND_VAL_EX 55 26 NEW $13 'Currency' 27 SEND_VAL_EX 'GBP' 28 DO_FCALL 0 29 SEND_VAR_NO_REF_EX $13 30 DO_FCALL 0 31 ASSIGN !0, $12 44 32 ECHO 'Short-hand+ternary+when+currency+is+set%3A%0D%0A' 45 33 INIT_FCALL 'var_dump' 34 FETCH_OBJ_R ~17 !0, 'currency' 35 INIT_METHOD_CALL ~17, 'equals' 36 NEW $18 'Currency' 37 SEND_VAL_EX 'GBP' 38 DO_FCALL 0 39 SEND_VAR_NO_REF_EX $18 40 DO_FCALL 0 $20 41 SEND_VAR $20 42 DO_ICALL 48 43 NEW $22 'Money' 44 SEND_VAL_EX 55 45 DO_FCALL 0 46 ASSIGN !1, $22 50 47 ECHO 'Short-hand+ternary+when+currency+is+not+set%3A%0D%0A' 51 48 INIT_FCALL 'var_dump' 49 FETCH_OBJ_R ~25 !1, 'currency' 50 INIT_METHOD_CALL ~25, 'equals' 51 NEW $26 'Currency' 52 SEND_VAL_EX 'USD' 53 DO_FCALL 0 54 SEND_VAR_NO_REF_EX $26 55 DO_FCALL 0 $28 56 SEND_VAR $28 57 DO_ICALL 58 > RETURN 1 Class Currency: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pipik function name: __construct number of ops: 4 compiled vars: !0 = $currencyCode line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 7 0 E > RECV !0 9 1 ASSIGN_OBJ 'currencyCode' 2 OP_DATA !0 10 3 > RETURN null End of function __construct Function equals: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pipik function name: equals number of ops: 6 compiled vars: !0 = $currency line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 12 0 E > RECV !0 14 1 FETCH_OBJ_R ~1 'currencyCode' 2 FETCH_OBJ_R ~2 !0, 'currencyCode' 3 IS_IDENTICAL ~3 ~1, ~2 4 > RETURN ~3 15 5* > RETURN null End of function equals End of class Currency. Class Money: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pipik function name: __construct number of ops: 10 compiled vars: !0 = $amount, !1 = $currency line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 23 0 E > RECV !0 1 RECV_INIT !1 null 25 2 JMP_SET ~3 !1, ->7 3 NEW $4 'Currency' 4 SEND_VAL_EX 'USD' 5 DO_FCALL 0 6 QM_ASSIGN ~3 $4 7 ASSIGN_OBJ 'currency' 8 OP_DATA ~3 26 9 > RETURN null End of function __construct End of class Money.
Generated using Vulcan Logic Dumper, using php 8.0.0