Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/biUoQ function name: (null) number of ops: 42 compiled vars: !0 = $domdocu, !1 = $parser line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > DECLARE_CLASS 'myparser' 108 1 NEW $2 'DomDocument' 2 DO_FCALL 0 3 ASSIGN !0, $2 109 4 INIT_METHOD_CALL !0, 'loadHTML' 5 SEND_VAL_EX '%0A%3Chtml%3E%0A%3Chead%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A++++%3Cdiv+id%3D%22first%22%3E%0A++++b%25ELEMENT%25a%0A++++%3C%2Fdiv%3E%0A++++%3Cdiv+class%3D%22second%22%3E%0A++++++++%25ELEMENT%25%0A++++++++%3Cdiv+class%3D%22third%22%3E%0A++++++++%25ELEMENT%25%0A++++++++%3C%2Fdiv%3E%0A++++%3C%2Fdiv%3E%0A++++%3Cdiv+class%3D%22fourth%22%3E%25ELEMENT%25%3C%2Fdiv%3E%0A++++%3Cdiv+class%3D%22fourth%22%3E%25ELEMENT%25%3C%2Fdiv%3E%0A++++%3Cdiv+class%3D%22fifth%22%3Ea%25ELEMENT%25b%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0A' 6 DO_FCALL 0 129 7 NEW $6 'MyParser' 8 SEND_VAR_EX !0 9 DO_FCALL 0 10 ASSIGN !1, $6 130 11 INIT_METHOD_CALL !1, 'insertInto' 12 SEND_VAL_EX 'class' 13 SEND_VAL_EX 'third' 14 SEND_VAL_EX 'newtesttxtxttx' 15 DO_FCALL 0 131 16 INIT_METHOD_CALL !1, 'replaceVariableInside' 17 SEND_VAL_EX '%25ELEMENT%25' 18 SEND_VAL_EX 'TEEEXT' 19 SEND_VAL_EX 'id' 20 SEND_VAL_EX 'first' 21 DO_FCALL 0 132 22 INIT_METHOD_CALL !1, 'replaceVariableInside' 23 SEND_VAL_EX '%25ELEMENT%25' 24 SEND_VAL_EX 'TEEEXT' 25 SEND_VAL_EX 'class' 26 SEND_VAL_EX 'second' 27 DO_FCALL 0 133 28 INIT_METHOD_CALL !1, 'replaceVariableInside' 29 SEND_VAL_EX '%25ELEMENT%25' 30 SEND_VAL_EX 'TEEEXT' 31 SEND_VAL_EX 'class' 32 SEND_VAL_EX 'fourth' 33 DO_FCALL 0 134 34 INIT_METHOD_CALL !1, 'replaceVariableInside' 35 SEND_VAL_EX '%25ELEMENT%25' 36 SEND_VAL_EX 'TEEEXT' 37 SEND_VAL_EX 'class' 38 SEND_VAL_EX 'fifth' 39 DO_FCALL 0 136 40 ECHO !1 41 > RETURN 1 Function %00%7Bclosure%7D%2Fin%2FbiUoQ%3A22%240: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 54 Branch analysis from position: 16 2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 54 Branch analysis from position: 17 2 jumps found. (Code = 46) Position 1 = 21, Position 2 = 23 Branch analysis from position: 21 2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 28 Branch analysis from position: 24 2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 53 Branch analysis from position: 36 1 jumps found. (Code = 42) Position 1 = 16 Branch analysis from position: 16 Branch analysis from position: 53 Branch analysis from position: 28 Branch analysis from position: 23 Branch analysis from position: 54 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 54 filename: /in/biUoQ function name: {closure} number of ops: 56 compiled vars: !0 = $node, !1 = $varName, !2 = $newTextNode, !3 = $textNodes, !4 = $textNode, !5 = $pos, !6 = $newNode line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 22 0 E > RECV !0 1 BIND_STATIC !1 2 BIND_STATIC !2 24 3 INIT_FCALL 'array_filter' 4 FETCH_THIS $7 5 INIT_METHOD_CALL $7, 'dnl2array' 6 CHECK_FUNC_ARG 7 FETCH_OBJ_FUNC_ARG $8 !0, 'childNodes' 8 SEND_FUNC_ARG $8 9 DO_FCALL 0 $9 10 SEND_VAR $9 11 DECLARE_LAMBDA_FUNCTION '%00%7Bclosure%7D%2Fin%2FbiUoQ%3A24%241' 26 12 SEND_VAL ~10 13 DO_ICALL $11 24 14 ASSIGN !3, $11 27 15 > FE_RESET_R $13 !3, ->54 16 > > FE_FETCH_R $13, !4, ->54 29 17 > BEGIN_SILENCE ~14 18 FETCH_R local ~15 'pos' 19 END_SILENCE ~14 20 > JMPZ_EX ~15 ~15, ->23 21 > TYPE_CHECK 1018 ~16 !5 22 BOOL ~15 ~16 23 > > JMPZ ~15, ->28 31 24 > INIT_METHOD_CALL !2, 'cloneNode' 25 SEND_VAL_EX <true> 26 DO_FCALL 0 $17 27 ASSIGN !2, $17 33 28 > INIT_FCALL 'strpos' 29 FETCH_OBJ_R ~19 !4, 'nodeValue' 30 SEND_VAL ~19 31 SEND_VAR !1 32 DO_ICALL $20 33 ASSIGN !5, $20 34 34 TYPE_CHECK 1018 !5 35 > JMPZ ~22, ->53 36 36 > INIT_METHOD_CALL !4, 'splitText' 37 SEND_VAR_EX !5 38 DO_FCALL 0 $23 39 ASSIGN !6, $23 37 40 INIT_FCALL 'substr' 41 FETCH_OBJ_R ~26 !6, 'nodeValue' 42 SEND_VAL ~26 43 STRLEN ~27 !1 44 SEND_VAL ~27 45 DO_ICALL $28 46 ASSIGN_OBJ !6, 'nodeValue' 47 OP_DATA $28 39 48 FETCH_OBJ_R ~29 !6, 'parentNode' 49 INIT_METHOD_CALL ~29, 'insertBefore' 50 SEND_VAR_EX !2 51 SEND_VAR_EX !6 52 DO_FCALL 0 27 53 > > JMP ->16 54 > FE_FREE $13 42 55 > RETURN null End of function %00%7Bclosure%7D%2Fin%2FbiUoQ%3A22%240 Function %00%7Bclosure%7D%2Fin%2FbiUoQ%3A24%241: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/biUoQ function name: {closure} number of ops: 5 compiled vars: !0 = $node line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 24 0 E > RECV !0 25 1 FETCH_OBJ_R ~1 !0, 'nodeType' 2 IS_IDENTICAL ~2 ~1, 3 3 > RETURN ~2 26 4* > RETURN null End of function %00%7Bclosure%7D%2Fin%2FbiUoQ%3A24%241 Function %00%7Bclosure%7D%2Fin%2FbiUoQ%3A66%242: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/biUoQ function name: {closure} number of ops: 8 compiled vars: !0 = $elementOfDom, !1 = $newnode line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 66 0 E > RECV !0 1 BIND_STATIC !1 68 2 BEGIN_SILENCE ~2 3 INIT_METHOD_CALL !0, 'appendChild' 4 SEND_VAR_EX !1 5 DO_FCALL 0 6 END_SILENCE ~2 69 7 > RETURN null End of function %00%7Bclosure%7D%2Fin%2FbiUoQ%3A66%242 Class MyParser: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/biUoQ function name: __construct number of ops: 4 compiled vars: !0 = $domdoc line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 6 0 E > RECV !0 7 1 ASSIGN_OBJ 'domdoc' 2 OP_DATA !0 8 3 > RETURN null End of function __construct Function __tostring: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/biUoQ function name: __toString number of ops: 7 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 12 0 E > FETCH_OBJ_R ~0 'domdoc' 1 INIT_METHOD_CALL ~0, 'saveHTML' 2 DO_FCALL 0 $1 3 VERIFY_RETURN_TYPE $1 4 > RETURN $1 13 5* VERIFY_RETURN_TYPE 6* > RETURN null End of function __tostring Function replacevariableinside: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/biUoQ function name: replaceVariableInside number of ops: 21 compiled vars: !0 = $varName, !1 = $text, !2 = $idType, !3 = $idValue, !4 = $nodes, !5 = $newTextNode line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 16 0 E > RECV !0 1 RECV !1 2 RECV !2 3 RECV !3 18 4 INIT_METHOD_CALL 'getNodes' 5 SEND_VAR_EX !2 6 SEND_VAR_EX !3 7 DO_FCALL 0 $6 8 ASSIGN !4, $6 20 9 INIT_METHOD_CALL 'getNodeFromText' 10 SEND_VAR_EX !1 11 DO_FCALL 0 $8 12 ASSIGN !5, $8 22 13 INIT_FCALL 'array_map' 14 DECLARE_LAMBDA_FUNCTION '%00%7Bclosure%7D%2Fin%2FbiUoQ%3A22%240' 15 BIND_LEXICAL ~10, !0 16 BIND_LEXICAL ~10, !5 42 17 SEND_VAL ~10 18 SEND_VAR !4 19 DO_ICALL 43 20 > RETURN null End of function replacevariableinside Function getnodes: Finding entry points Branch analysis from position: 0 4 jumps found. (Code = 188) Position 1 = 8, Position 2 = 15, Position 3 = 31, Position 4 = 3 Branch analysis from position: 8 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 15 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 31 1 jumps found. (Code = 42) Position 1 = 32 Branch analysis from position: 32 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 3 2 jumps found. (Code = 44) Position 1 = 5, Position 2 = 8 Branch analysis from position: 5 2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 15 Branch analysis from position: 7 1 jumps found. (Code = 42) Position 1 = 31 Branch analysis from position: 31 Branch analysis from position: 15 Branch analysis from position: 8 filename: /in/biUoQ function name: getNodes number of ops: 33 compiled vars: !0 = $idType, !1 = $idValue line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 45 0 E > RECV !0 1 RECV !1 47 2 > SWITCH_STRING !0, [ 'id':->8, 'class':->15, ], ->31 48 3 > IS_EQUAL !0, 'id' 4 > JMPNZ ~2, ->8 53 5 > IS_EQUAL !0, 'class' 6 > JMPNZ ~2, ->15 7 > > JMP ->31 50 8 > FETCH_OBJ_R ~3 'domdoc' 9 INIT_METHOD_CALL ~3, 'getElementById' 10 SEND_VAR_EX !1 11 DO_FCALL 0 $4 12 INIT_ARRAY ~5 $4 13 > RETURN ~5 52 14* JMP ->32 54 15 > INIT_METHOD_CALL 'dnl2array' 16 NEW $6 'DOMXPath' 17 CHECK_FUNC_ARG 18 FETCH_OBJ_FUNC_ARG $7 'domdoc' 19 SEND_FUNC_ARG $7 20 DO_FCALL 0 55 21 INIT_METHOD_CALL $6, 'query' 22 ROPE_INIT 3 ~10 '%2F%2F%2A%5Bcontains%28concat%28%27+%27%2C+normalize-space%28%40class%29%2C+%27+%27%29%2C+%27+' 23 ROPE_ADD 1 ~10 ~10, !1 24 ROPE_END 2 ~9 ~10, '+%27%29%5D' 25 SEND_VAL_EX ~9 26 DO_FCALL 0 $12 27 SEND_VAR_NO_REF_EX $12 28 DO_FCALL 0 $13 29 > RETURN $13 56 30* JMP ->32 58 31 > > JMP ->32 60 32 > > RETURN null End of function getnodes Function insertinto: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/biUoQ function name: insertInto number of ops: 18 compiled vars: !0 = $idType, !1 = $id, !2 = $text, !3 = $newnode line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 62 0 E > RECV !0 1 RECV !1 2 RECV !2 64 3 INIT_METHOD_CALL 'getNodeFromText' 4 SEND_VAR_EX !2 5 DO_FCALL 0 $4 6 ASSIGN !3, $4 66 7 INIT_FCALL 'array_map' 8 DECLARE_LAMBDA_FUNCTION '%00%7Bclosure%7D%2Fin%2FbiUoQ%3A66%242' 9 BIND_LEXICAL ~6, !3 69 10 SEND_VAL ~6 11 INIT_METHOD_CALL 'getNodes' 12 SEND_VAR_EX !0 13 SEND_VAR_EX !1 14 DO_FCALL 0 $7 15 SEND_VAR $7 16 DO_ICALL 70 17 > RETURN null End of function insertinto Function getnodefromtext: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 19 Branch analysis from position: 19 2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 31 Branch analysis from position: 20 1 jumps found. (Code = 42) Position 1 = 38 Branch analysis from position: 38 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 31 1 jumps found. (Code = 62) Position 1 = -2 Found catch point at position: 17 Branch analysis from position: 17 2 jumps found. (Code = 107) Position 1 = 18, Position 2 = -2 Branch analysis from position: 18 2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 31 Branch analysis from position: 20 Branch analysis from position: 31 filename: /in/biUoQ function name: getNodeFromText number of ops: 40 compiled vars: !0 = $text, !1 = $tmp, !2 = $textDocumentRes, !3 = $e, !4 = $newnode line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 72 0 E > RECV !0 74 1 INIT_FCALL 'html_entity_decode' 2 SEND_VAR !0 3 DO_ICALL $5 4 ASSIGN !0, $5 77 5 NEW $7 'DOMDocument' 6 DO_FCALL 0 7 ASSIGN !1, $7 78 8 BEGIN_SILENCE ~10 9 INIT_METHOD_CALL !1, 'loadHTML' 10 CONCAT ~11 '%3C%3Fxml+encoding%3D%22utf-8%22+%3F%3E%3Cspan%3E', !0 11 CONCAT ~12 ~11, '%3C%2Fspan%3E' 12 SEND_VAL_EX ~12 13 DO_FCALL 0 $13 14 END_SILENCE ~10 15 ASSIGN !2, $13 16 > JMP ->19 80 17 E > > CATCH last 'Exception' 82 18 > ASSIGN !2, <false> 84 19 > > JMPZ !2, ->31 86 20 > FETCH_OBJ_R ~16 'domdoc' 21 INIT_METHOD_CALL ~16, 'importNode' 22 CHECK_FUNC_ARG 23 FETCH_OBJ_FUNC_ARG $17 !1, 'documentElement' 24 FETCH_OBJ_FUNC_ARG $18 $17, 'firstChild' 25 FETCH_OBJ_FUNC_ARG $19 $18, 'firstChild' 26 SEND_FUNC_ARG $19 27 SEND_VAL_EX <true> 28 DO_FCALL 0 $20 29 ASSIGN !4, $20 30 > JMP ->38 90 31 > FETCH_OBJ_R ~22 'domdoc' 32 INIT_METHOD_CALL ~22, 'createTextNode' 33 SEND_VAR_EX !0 34 DO_FCALL 0 $23 35 ASSIGN !4, $23 91 36 ASSIGN_OBJ !4, 'nodeValue' 37 OP_DATA !0 94 38 > > RETURN !4 95 39* > RETURN null End of function getnodefromtext Function dnl2array: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 12 Branch analysis from position: 12 2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 6 Branch analysis from position: 14 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 6 2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 6 Branch analysis from position: 14 Branch analysis from position: 6 filename: /in/biUoQ function name: dnl2array number of ops: 16 compiled vars: !0 = $domnodelist, !1 = $return, !2 = $length, !3 = $i line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 98 0 E > RECV !0 99 1 ASSIGN !1, <array> 100 2 FETCH_OBJ_R ~5 !0, 'length' 3 ASSIGN !2, ~5 101 4 ASSIGN !3, 0 5 > JMP ->12 102 6 > INIT_METHOD_CALL !0, 'item' 7 SEND_VAR_EX !3 8 DO_FCALL 0 $9 9 ASSIGN_DIM !1 10 OP_DATA $9 101 11 PRE_INC !3 12 > IS_SMALLER !3, !2 13 > JMPNZ ~11, ->6 104 14 > > RETURN !1 105 15* > RETURN null End of function dnl2array End of class MyParser.
Generated using Vulcan Logic Dumper, using php 8.0.0