Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/FRg74 function name: (null) number of ops: 61 compiled vars: !0 = $xml, !1 = $simple, !2 = $documentElement, !3 = $attributeList, !4 = $attributeListEmpty, !5 = $attribute, !6 = $suite line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 6 0 E > INIT_FCALL 'error_reporting' 1 SEND_VAL -1 2 DO_ICALL 8 3 ASSIGN !0, '%3Cdocument%3E%0A++++%3Cchild+a3%3D%22v3%22%3E%0A++++++++give%0A++++++++%3Cgrandchild+a1%3D%22v1%22+a2%3D%22v2%22%3E%0A++++++++++++me%0A++++++++%3C%2Fgrandchild%3E%0A++++++++%3Cgrandchild%3E%0A++++++++++++more%0A++++++++%3C%2Fgrandchild%3E%0A++++++++sugar.%0A++++%3C%2Fchild%3E%0A++++%3Cchild%3E%0A++++%3C%2Fchild%3E%0A++++%3Csingle%2F%3E%0A%3C%2Fdocument%3E%0A' 25 4 NEW $9 'SimpleXMLElement' 5 SEND_VAR_EX !0 6 DO_FCALL 0 7 ASSIGN !1, $9 37 8 ASSIGN !2, !1 38 9 FETCH_OBJ_R ~13 !1, 'child' 10 FETCH_OBJ_R ~14 ~13, 'grandchild' 11 INIT_METHOD_CALL ~14, 'attributes' 12 DO_FCALL 0 $15 13 ASSIGN !3, $15 39 14 FETCH_OBJ_R ~17 !1, 'child' 15 FETCH_DIM_R ~18 ~17, 1 16 INIT_METHOD_CALL ~18, 'attributes' 17 DO_FCALL 0 $19 18 ASSIGN !4, $19 40 19 FETCH_OBJ_R ~21 !1, 'child' 20 FETCH_OBJ_R ~22 ~21, 'grandchild' 21 FETCH_DIM_R ~23 ~22, 'a1' 22 ASSIGN !5, ~23 44 23 INIT_ARRAY ~25 'simplexml_is_attribute' 24 INIT_ARRAY ~26 <true> 45 25 ADD_ARRAY_ELEMENT ~26 !5 26 INIT_ARRAY ~27 ~26 44 27 INIT_ARRAY ~28 <true> 46 28 FETCH_OBJ_R ~29 !2, 'child' 29 FETCH_DIM_R ~30 ~29, 0 30 FETCH_DIM_R ~31 ~30, 'a3' 31 ADD_ARRAY_ELEMENT ~28 ~31 32 ADD_ARRAY_ELEMENT ~27 ~28 44 33 INIT_ARRAY ~32 <false> 47 34 ADD_ARRAY_ELEMENT ~32 !3 35 ADD_ARRAY_ELEMENT ~27 ~32 44 36 INIT_ARRAY ~33 <false> 48 37 ADD_ARRAY_ELEMENT ~33 !4 38 ADD_ARRAY_ELEMENT ~27 ~33 44 39 INIT_ARRAY ~34 <false> 49 40 ADD_ARRAY_ELEMENT ~34 !2 41 ADD_ARRAY_ELEMENT ~27 ~34 44 42 INIT_ARRAY ~35 <false> 50 43 FETCH_OBJ_R ~36 !2, 'child' 44 ADD_ARRAY_ELEMENT ~35 ~36 45 ADD_ARRAY_ELEMENT ~27 ~35 44 46 INIT_ARRAY ~37 <false> 51 47 FETCH_OBJ_R ~38 !2, 'child' 48 FETCH_DIM_R ~39 ~38, 0 49 ADD_ARRAY_ELEMENT ~37 ~39 50 ADD_ARRAY_ELEMENT ~27 ~37 51 ADD_ARRAY_ELEMENT ~25 ~27 52 INIT_ARRAY ~40 ~25, 'is_attribute' 43 53 ASSIGN !6, ~40 55 54 ECHO 'Running+tests+with+LIBXML+' 55 ECHO '2.9.4' 56 ECHO '%3A%0A' 56 57 INIT_FCALL_BY_NAME 'run_test_suite' 58 SEND_VAR_EX !6 59 DO_FCALL 0 126 60 > RETURN 1 Function simplexml_is_attribute: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 9 Branch analysis from position: 5 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 9 filename: /in/FRg74 function name: simplexml_is_attribute number of ops: 11 compiled vars: !0 = $element line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 31 0 E > RECV !0 33 1 INIT_METHOD_CALL !0, 'attributes' 2 DO_FCALL 0 $1 3 TYPE_CHECK 1020 ~2 $1 4 > JMPZ_EX ~2 ~2, ->9 5 > INIT_METHOD_CALL !0, 'children' 6 DO_FCALL 0 $3 7 BOOL_NOT ~4 $3 8 BOOL ~2 ~4 9 > > RETURN ~2 34 10* > RETURN null End of function simplexml_is_attribute Function run_test_suite: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 18 Branch analysis from position: 2 2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 18 Branch analysis from position: 3 1 jumps found. (Code = 42) Position 1 = 2 Branch analysis from position: 2 Branch analysis from position: 18 2 jumps found. (Code = 77) Position 1 = 25, Position 2 = 35 Branch analysis from position: 25 2 jumps found. (Code = 78) Position 1 = 26, Position 2 = 35 Branch analysis from position: 26 1 jumps found. (Code = 42) Position 1 = 25 Branch analysis from position: 25 Branch analysis from position: 35 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 35 Branch analysis from position: 18 filename: /in/FRg74 function name: run_test_suite number of ops: 44 compiled vars: !0 = $testsuite, !1 = $testcasedef, !2 = $caselabel, !3 = $callback, !4 = $testcase, !5 = $stats, !6 = $stat, !7 = $singled line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 58 0 E > RECV !0 61 1 > FE_RESET_R $8 !0, ->18 2 > > FE_FETCH_R ~9 $8, !1, ->18 3 > ASSIGN !2, ~9 62 4 QM_ASSIGN ~11 !1 5 FETCH_LIST_R $12 ~11, 0 6 ASSIGN !3, $12 7 FETCH_LIST_R $14 ~11, 1 8 ASSIGN !4, $14 9 FREE ~11 63 10 INIT_FCALL_BY_NAME 'run_testcase' 11 SEND_VAR_EX !4 12 SEND_VAR_EX !3 13 SEND_VAR_EX !2 14 DO_FCALL 0 $17 15 ASSIGN_DIM !5 16 OP_DATA $17 61 17 > JMP ->2 18 > FE_FREE $8 65 19 ECHO '%0A' 67 20 ASSIGN_DIM !6, 'tests' 21 OP_DATA 0 68 22 ASSIGN_DIM !6, 'failures' 23 OP_DATA 0 70 24 > FE_RESET_R $20 !5, ->35 25 > > FE_FETCH_R $20, !7, ->35 71 26 > FETCH_DIM_R ~22 !7, 'tests' 27 ASSIGN_DIM_OP += 1 !6, 'tests' 28 OP_DATA ~22 72 29 FETCH_DIM_R ~24 !7, 'failures' 30 ASSIGN_DIM_OP += 1 !6, 'failures' 31 OP_DATA ~24 73 32 FETCH_DIM_R ~25 !7, 'messages' 33 ECHO ~25 70 34 > JMP ->25 35 > FE_FREE $20 76 36 INIT_FCALL 'printf' 37 SEND_VAL 'Done+%25d+tests+with+%25d+failures.' 38 FETCH_DIM_R ~26 !6, 'tests' 39 SEND_VAL ~26 40 FETCH_DIM_R ~27 !6, 'failures' 41 SEND_VAL ~27 42 DO_ICALL 77 43 > RETURN null End of function run_test_suite Function run_testcase: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6 Branch analysis from position: 5 2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 59 Branch analysis from position: 12 2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 59 Branch analysis from position: 13 2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 43 Branch analysis from position: 41 1 jumps found. (Code = 42) Position 1 = 44 Branch analysis from position: 44 2 jumps found. (Code = 43) Position 1 = 46, Position 2 = 52 Branch analysis from position: 46 2 jumps found. (Code = 43) Position 1 = 56, Position 2 = 58 Branch analysis from position: 56 1 jumps found. (Code = 42) Position 1 = 12 Branch analysis from position: 12 Branch analysis from position: 58 Branch analysis from position: 52 Branch analysis from position: 43 2 jumps found. (Code = 43) Position 1 = 46, Position 2 = 52 Branch analysis from position: 46 Branch analysis from position: 52 Branch analysis from position: 59 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 59 Branch analysis from position: 6 filename: /in/FRg74 function name: run_testcase number of ops: 64 compiled vars: !0 = $testcase, !1 = $callback, !2 = $label, !3 = $stats, !4 = $messages, !5 = $test, !6 = $i, !7 = $expected, !8 = $subject, !9 = $testlabel, !10 = $labeltest, !11 = $result, !12 = $buffer line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 79 0 E > RECV !0 1 RECV !1 2 RECV_INIT !2 null 81 3 TYPE_CHECK 2 !2 4 > JMPZ ~13, ->6 5 > ASSIGN !2, !1 83 6 > ASSIGN_DIM !3, 'tests' 7 OP_DATA 0 84 8 ASSIGN_DIM !3, 'failures' 9 OP_DATA 0 86 10 ASSIGN !4, '' 88 11 > FE_RESET_R $18 !0, ->59 12 > > FE_FETCH_R ~19 $18, !5, ->59 13 > ASSIGN !6, ~19 89 14 NOP 15 FAST_CONCAT ~21 '%23', !6 16 INIT_ARRAY ~22 ~21, 2 17 ADD ~23 !5, ~22 18 FETCH_LIST_R $24 ~23, 0 19 ASSIGN !7, $24 20 FETCH_LIST_R $26 ~23, 1 21 ASSIGN !8, $26 22 FETCH_LIST_R $28 ~23, 2 23 ASSIGN !9, $28 24 FREE ~23 90 25 CONCAT ~30 !2, '+' 26 CONCAT ~31 ~30, !9 27 ASSIGN !10, ~31 91 28 INIT_FCALL 'ob_start' 29 DO_ICALL 92 30 INIT_FCALL_BY_NAME 'run_test' 31 SEND_VAR_EX !7 32 SEND_VAR_EX !8 33 SEND_VAR_EX !1 34 SEND_VAR_EX !10 35 DO_FCALL 0 $34 36 ASSIGN !11, $34 93 37 INIT_FCALL 'ob_get_clean' 38 DO_ICALL $36 39 ASSIGN !12, $36 94 40 > JMPZ !11, ->43 41 > QM_ASSIGN ~38 '.' 42 > JMP ->44 43 > QM_ASSIGN ~38 'F' 44 > ECHO ~38 95 45 > JMPZ !12, ->52 96 46 > INIT_FCALL 'sprintf' 47 SEND_VAL '%23%23%23+%25s+%23%23%23%0A' 48 SEND_VAR !10 49 DO_ICALL $39 50 ASSIGN_OP 8 !4, $39 97 51 ASSIGN_OP 8 !4, !12 100 52 > FETCH_DIM_RW $42 !3, 'tests' 53 PRE_INC $42 101 54 BOOL_NOT ~44 !11 55 > JMPZ ~44, ->58 56 > FETCH_DIM_RW $45 !3, 'failures' 57 PRE_INC $45 88 58 > > JMP ->12 59 > FE_FREE $18 104 60 INIT_ARRAY ~47 !4, 'messages' 61 ADD ~48 !3, ~47 62 > RETURN ~48 105 63* > RETURN null End of function run_testcase Function run_test: 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 = 16 Branch analysis from position: 13 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 48 Branch analysis from position: 20 2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 33 Branch analysis from position: 23 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 33 Branch analysis from position: 48 Branch analysis from position: 16 2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 48 Branch analysis from position: 20 Branch analysis from position: 48 Branch analysis from position: 12 filename: /in/FRg74 function name: run_test number of ops: 50 compiled vars: !0 = $expected, !1 = $subject, !2 = $callback, !3 = $label, !4 = $actual, !5 = $result, !6 = $extra line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 107 0 E > RECV !0 1 RECV !1 2 RECV !2 3 RECV !3 109 4 INIT_USER_CALL 1 'call_user_func', !2 5 SEND_USER !1 6 DO_FCALL 0 $7 7 ASSIGN !4, $7 110 8 INSTANCEOF ~9 !0, 'SimpleXMLElement' 9 > JMPZ_EX ~9 ~9, ->12 10 > INSTANCEOF ~10 !4, 'SimpleXMLElement' 11 BOOL ~9 ~10 12 > > JMPZ ~9, ->16 111 13 > IS_EQUAL ~11 !4, !0 14 ASSIGN !5, ~11 15 > JMP ->18 113 16 > IS_IDENTICAL ~13 !4, !0 17 ASSIGN !5, ~13 116 18 > BOOL_NOT ~15 !5 19 > JMPZ ~15, ->48 117 20 > ASSIGN !6, '' 118 21 INSTANCEOF !1, 'SimpleXMLElement' 22 > JMPZ ~17, ->33 119 23 > INIT_FCALL 'sprintf' 24 SEND_VAL '+with+%25s' 25 INIT_FCALL 'rtrim' 26 INIT_METHOD_CALL !1, 'asXML' 27 DO_FCALL 0 $18 28 SEND_VAR $18 29 DO_ICALL $19 30 SEND_VAR $19 31 DO_ICALL $20 32 ASSIGN !6, $20 121 33 > INIT_FCALL 'printf' 34 SEND_VAL 'FAILED+to+test+%25s%25s.%0A' 35 SEND_VAR !3 36 SEND_VAR !6 37 DO_ICALL 122 38 ECHO 'expected%3A+' 39 INIT_FCALL 'var_dump' 40 SEND_VAR !0 41 DO_ICALL $23 42 ECHO $23 123 43 ECHO 'actual%3A' 44 INIT_FCALL 'var_dump' 45 SEND_VAR !4 46 DO_ICALL $24 47 ECHO $24 125 48 > > RETURN !5 126 49* > RETURN null End of function run_test
Generated using Vulcan Logic Dumper, using php 8.0.0