Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 21 Branch analysis from position: 16 2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 21 Branch analysis from position: 17 1 jumps found. (Code = 42) Position 1 = 16 Branch analysis from position: 16 Branch analysis from position: 21 2 jumps found. (Code = 77) Position 1 = 37, Position 2 = 42 Branch analysis from position: 37 2 jumps found. (Code = 78) Position 1 = 38, Position 2 = 42 Branch analysis from position: 38 1 jumps found. (Code = 42) Position 1 = 37 Branch analysis from position: 37 Branch analysis from position: 42 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 42 Branch analysis from position: 21 filename: /in/qtpkt function name: (null) number of ops: 47 compiled vars: !0 = $html, !1 = $dom, !2 = $xpath, !3 = $linkText, !4 = $node, !5 = $doc, !6 = $aTags, !7 = $a line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 2 0 E > ASSIGN !0, '%3Ca+href%3D%22%23%22%3Ehello%3C%2Fa%3E+%3Cabbr+href%3D%22%23%22%3EFYI%3C%2Fabbr%3E+%3Ca+title%3D%22goodbye%22%3Elater%3C%2Fa%3E%0A%3Ca+href%3Dhttps%3A%2F%2Fexample.com%3Eno+quoted+attributes%3C%2Fa%3E%0A%3CA+href%3D%22https%3A%2F%2Fexample.com%22%0Atitle%3D%22some+title%22%0Adata-key%3D%22%7B%5C%27key%5C%27%3A%5C%27adf0a8dfq%3C%3E%2A1%244%25%5C%27%22%3Ea+link+with+data+attribute%3C%2FA%3E%0Aand%0Athis+is+%3Ca+title%3D%22hello%22%3Enot+a+hyperlink%3C%2Fa%3E+but+simply+an+anchor+tag' 12 1 NEW $9 'DOMDocument' 2 DO_FCALL 0 3 ASSIGN !1, $9 13 4 INIT_METHOD_CALL !1, 'loadHTML' 5 SEND_VAR_EX !0 6 DO_FCALL 0 14 7 NEW $13 'DOMXPath' 8 SEND_VAR_EX !1 9 DO_FCALL 0 10 ASSIGN !2, $13 15 11 ASSIGN !3, <array> 16 12 INIT_METHOD_CALL !2, 'evaluate' 13 SEND_VAL_EX '%2F%2Fa%5B%40href%5D' 14 DO_FCALL 0 $17 15 > FE_RESET_R $18 $17, ->21 16 > > FE_FETCH_R $18, !4, ->21 17 17 > FETCH_OBJ_R ~20 !4, 'nodeValue' 18 ASSIGN_DIM !3 19 OP_DATA ~20 16 20 > JMP ->16 21 > FE_FREE $18 19 22 INIT_FCALL 'var_export' 23 SEND_VAR !3 24 DO_ICALL 21 25 ECHO '%0A+---+if+you+don%27t+care+about+the+href+attribute+existing+---+%0A' 23 26 NEW $22 'DOMDocument' 27 DO_FCALL 0 28 ASSIGN !5, $22 24 29 INIT_METHOD_CALL !5, 'loadHTML' 30 SEND_VAR_EX !0 31 DO_FCALL 0 25 32 ASSIGN !6, <array> 26 33 INIT_METHOD_CALL !5, 'getElementsByTagName' 34 SEND_VAL_EX 'a' 35 DO_FCALL 0 $27 36 > FE_RESET_R $28 $27, ->42 37 > > FE_FETCH_R $28, !7, ->42 27 38 > FETCH_OBJ_R ~30 !7, 'nodeValue' 39 ASSIGN_DIM !6 40 OP_DATA ~30 26 41 > JMP ->37 42 > FE_FREE $28 29 43 INIT_FCALL 'var_export' 44 SEND_VAR !6 45 DO_ICALL 46 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0