Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: (null) number of ops: 15 compiled vars: !0 = $test line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 127 0 E > DECLARE_CLASS 'ampersand%5Cdevtest%5Cbasicoop%5Cnumber' 170 1 NEW $1 'Ampersand%5CDevTest%5CBasicOop%5CNumberTest' 2 DO_FCALL 0 3 ASSIGN !0, $1 171 4 INIT_METHOD_CALL !0, 'testConstruct' 5 DO_FCALL 0 172 6 INIT_METHOD_CALL !0, 'testAdd' 7 DO_FCALL 0 173 8 INIT_METHOD_CALL !0, 'testSubtract' 9 DO_FCALL 0 174 10 INIT_METHOD_CALL !0, 'testMultiply' 11 DO_FCALL 0 175 12 INIT_METHOD_CALL !0, 'testDivide' 13 DO_FCALL 0 14 > RETURN 1 Class Ampersand\DevTest\BasicOop\NumberInterface: Function add: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: add number of ops: 2 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 12 0 E > RECV !0 1 > RETURN null End of function add Function subtract: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: subtract number of ops: 2 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 20 0 E > RECV !0 1 > RETURN null End of function subtract Function multiply: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: multiply number of ops: 2 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 28 0 E > RECV !0 1 > RETURN null End of function multiply Function divide: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: divide number of ops: 2 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 36 0 E > RECV !0 1 > RETURN null End of function divide Function toint: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: toInt number of ops: 1 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 43 0 E > > RETURN null End of function toint End of class Ampersand\DevTest\BasicOop\NumberInterface. Class Ampersand\DevTest\BasicOop\NumberTest: Function testconstruct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: testConstruct number of ops: 30 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 50 0 E > NEW $1 'Ampersand%5CDevTest%5CBasicOop%5CNumber' 1 DO_FCALL 0 2 ASSIGN !0, $1 51 3 INIT_METHOD_CALL 'assertEquals' 4 SEND_VAL_EX 0 5 INIT_METHOD_CALL !0, 'toInt' 6 DO_FCALL 0 $4 7 SEND_VAR_NO_REF_EX $4 8 DO_FCALL 0 54 9 NEW $6 'Ampersand%5CDevTest%5CBasicOop%5CNumber' 10 SEND_VAL_EX 0 11 DO_FCALL 0 12 ASSIGN !0, $6 55 13 INIT_METHOD_CALL 'assertEquals' 14 SEND_VAL_EX 0 15 INIT_METHOD_CALL !0, 'toInt' 16 DO_FCALL 0 $9 17 SEND_VAR_NO_REF_EX $9 18 DO_FCALL 0 57 19 NEW $11 'Ampersand%5CDevTest%5CBasicOop%5CNumber' 20 SEND_VAL_EX 3 21 DO_FCALL 0 22 ASSIGN !0, $11 58 23 INIT_METHOD_CALL 'assertEquals' 24 SEND_VAL_EX 3 25 INIT_METHOD_CALL !0, 'toInt' 26 DO_FCALL 0 $14 27 SEND_VAR_NO_REF_EX $14 28 DO_FCALL 0 59 29 > RETURN null End of function testconstruct Function testadd: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: testAdd number of ops: 22 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 63 0 E > NEW $1 'Ampersand%5CDevTest%5CBasicOop%5CNumber' 1 DO_FCALL 0 2 ASSIGN !0, $1 65 3 INIT_METHOD_CALL !0, 'add' 4 SEND_VAL_EX 5 5 DO_FCALL 0 66 6 INIT_METHOD_CALL 'assertEquals' 7 SEND_VAL_EX 5 8 INIT_METHOD_CALL !0, 'toInt' 9 DO_FCALL 0 $5 10 SEND_VAR_NO_REF_EX $5 11 DO_FCALL 0 68 12 INIT_METHOD_CALL !0, 'add' 13 SEND_VAL_EX -7 14 DO_FCALL 0 69 15 INIT_METHOD_CALL 'assertEquals' 16 SEND_VAL_EX -2 17 INIT_METHOD_CALL !0, 'toInt' 18 DO_FCALL 0 $8 19 SEND_VAR_NO_REF_EX $8 20 DO_FCALL 0 70 21 > RETURN null End of function testadd Function testsubtract: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: testSubtract number of ops: 22 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 74 0 E > NEW $1 'Ampersand%5CDevTest%5CBasicOop%5CNumber' 1 DO_FCALL 0 2 ASSIGN !0, $1 76 3 INIT_METHOD_CALL !0, 'subtract' 4 SEND_VAL_EX 8 5 DO_FCALL 0 77 6 INIT_METHOD_CALL 'assertEquals' 7 SEND_VAL_EX -8 8 INIT_METHOD_CALL !0, 'toInt' 9 DO_FCALL 0 $5 10 SEND_VAR_NO_REF_EX $5 11 DO_FCALL 0 79 12 INIT_METHOD_CALL !0, 'subtract' 13 SEND_VAL_EX -10 14 DO_FCALL 0 80 15 INIT_METHOD_CALL 'assertEquals' 16 SEND_VAL_EX 2 17 INIT_METHOD_CALL !0, 'toInt' 18 DO_FCALL 0 $8 19 SEND_VAR_NO_REF_EX $8 20 DO_FCALL 0 81 21 > RETURN null End of function testsubtract Function testmultiply: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: testMultiply number of ops: 23 compiled vars: !0 = $n line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 85 0 E > NEW $1 'Ampersand%5CDevTest%5CBasicOop%5CNumber' 1 SEND_VAL_EX 1 2 DO_FCALL 0 3 ASSIGN !0, $1 87 4 INIT_METHOD_CALL !0, 'multiply' 5 SEND_VAL_EX 10 6 DO_FCALL 0 88 7 INIT_METHOD_CALL 'assertEquals' 8 SEND_VAL_EX 10 9 INIT_METHOD_CALL !0, 'toInt' 10 DO_FCALL 0 $5 11 SEND_VAR_NO_REF_EX $5 12 DO_FCALL 0 90 13 INIT_METHOD_CALL !0, 'multiply' 14 SEND_VAL_EX 6 15 DO_FCALL 0 91 16 INIT_METHOD_CALL 'assertEquals' 17 SEND_VAL_EX 60 18 INIT_METHOD_CALL !0, 'toInt' 19 DO_FCALL 0 $8 20 SEND_VAR_NO_REF_EX $8 21 DO_FCALL 0 92 22 > RETURN null End of function testmultiply Function testdivide: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 29 Branch analysis from position: 29 1 jumps found. (Code = 62) Position 1 = -2 Found catch point at position: 27 Branch analysis from position: 27 2 jumps found. (Code = 107) Position 1 = 28, Position 2 = -2 Branch analysis from position: 28 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: testDivide number of ops: 34 compiled vars: !0 = $n, !1 = $hasThrownEx, !2 = $e line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 96 0 E > NEW $3 'Ampersand%5CDevTest%5CBasicOop%5CNumber' 1 SEND_VAL_EX 100 2 DO_FCALL 0 3 ASSIGN !0, $3 98 4 INIT_METHOD_CALL !0, 'divide' 5 SEND_VAL_EX 5 6 DO_FCALL 0 99 7 INIT_METHOD_CALL 'assertEquals' 8 SEND_VAL_EX 20 9 INIT_METHOD_CALL !0, 'toInt' 10 DO_FCALL 0 $7 11 SEND_VAR_NO_REF_EX $7 12 DO_FCALL 0 101 13 INIT_METHOD_CALL !0, 'divide' 14 SEND_VAL_EX 5 15 DO_FCALL 0 102 16 INIT_METHOD_CALL 'assertEquals' 17 SEND_VAL_EX 4 18 INIT_METHOD_CALL !0, 'toInt' 19 DO_FCALL 0 $10 20 SEND_VAR_NO_REF_EX $10 21 DO_FCALL 0 104 22 ASSIGN !1, <false> 106 23 INIT_METHOD_CALL !0, 'divide' 24 SEND_VAL_EX 0 25 DO_FCALL 0 26 > JMP ->29 107 27 E > > CATCH last 'InvalidArgumentException' 108 28 > ASSIGN !1, <true> 110 29 > INIT_METHOD_CALL 'assertEquals' 30 SEND_VAL_EX <true> 31 SEND_VAR_EX !1 32 DO_FCALL 0 111 33 > RETURN null End of function testdivide Function assertequals: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 14 Branch analysis from position: 4 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: 14 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: assertEquals number of ops: 16 compiled vars: !0 = $expected, !1 = $actual line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 113 0 E > RECV !0 1 RECV !1 115 2 IS_NOT_IDENTICAL !0, !1 3 > JMPZ ~2, ->14 116 4 > ECHO '%0A' 117 5 INIT_NS_FCALL_BY_NAME 'Ampersand%5CDevTest%5CBasicOop%5Cvar_dump' 6 SEND_VAR_EX !1 7 DO_FCALL 0 118 8 ECHO '+does+not+match+expected+' 119 9 INIT_NS_FCALL_BY_NAME 'Ampersand%5CDevTest%5CBasicOop%5Cvar_dump' 10 SEND_VAR_EX !0 11 DO_FCALL 0 120 12 ECHO '%0A' 13 > JMP ->15 122 14 > ECHO '.' 124 15 > > RETURN null End of function assertequals End of class Ampersand\DevTest\BasicOop\NumberTest. Class Ampersand\DevTest\BasicOop\Number: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: __construct number of ops: 4 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 131 0 E > RECV_INIT !0 0 133 1 ASSIGN_OBJ 'value' 2 OP_DATA !0 134 3 > RETURN null End of function __construct Function add: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: add number of ops: 6 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 136 0 E > RECV !0 138 1 ASSIGN_OBJ_OP 1 'value' 2 OP_DATA !0 139 3 FETCH_OBJ_R ~2 'value' 4 > RETURN ~2 140 5* > RETURN null End of function add Function subtract: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: subtract number of ops: 6 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 142 0 E > RECV !0 144 1 ASSIGN_OBJ_OP 2 'value' 2 OP_DATA !0 145 3 FETCH_OBJ_R ~2 'value' 4 > RETURN ~2 146 5* > RETURN null End of function subtract Function multiply: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: multiply number of ops: 6 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 148 0 E > RECV !0 150 1 ASSIGN_OBJ_OP 3 'value' 2 OP_DATA !0 151 3 FETCH_OBJ_R ~2 'value' 4 > RETURN ~2 152 5* > RETURN null End of function multiply Function divide: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6 Branch analysis from position: 3 1 jumps found. (Code = 108) Position 1 = -2 Branch analysis from position: 6 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: divide number of ops: 11 compiled vars: !0 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 154 0 E > RECV !0 156 1 IS_IDENTICAL !0, 0 2 > JMPZ ~1, ->6 157 3 > NEW $2 'InvalidArgumentException' 4 DO_FCALL 0 5 > THROW 0 $2 160 6 > ASSIGN_OBJ_OP 4 'value' 7 OP_DATA !0 161 8 FETCH_OBJ_R ~5 'value' 9 > RETURN ~5 162 10* > RETURN null End of function divide Function toint: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/cFABb function name: toInt number of ops: 3 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 166 0 E > FETCH_OBJ_R ~0 'value' 1 > RETURN ~0 167 2* > RETURN null End of function toint End of class Ampersand\DevTest\BasicOop\Number.
Generated using Vulcan Logic Dumper, using php 8.0.0