Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 38
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 38
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 37
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 37
Branch analysis from position: 38
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 38
filename: /in/27IaK
function name: (null)
number of ops: 43
compiled vars: !0 = $html, !1 = $dom, !2 = $xpath, !3 = $node, !4 = $m
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
2 0 E > ASSIGN !0, '%3Cdiv%3E%0A%3Cp%3EParagraph+one+is+okay+%3C%2Fp%3E%0A%3Ch2%3EThis+will+work+without+problem%3C%2Fh2%3E%0A%3Cp%3EParagraph+two+is+okay+%3C%2Fp%3E%0A%3Ch2%3E%3Ca+href%3D%22%23%22%3EThis+heading+has+anchor%3C%2Fa%3E%3C%2Fh2%3E%0A%3Cp%3EParagraph+one+is+okay+%3C%2Fp%3E%0A%3Ch2%3E++This+heading+start+with+space%3C%2Fh2%3E%0A%3Cp%3EParagraph+two+is+okay+%3C%2Fp%3E%0A%3Ch3%3E1.+%3Ca+href%3D%22https%3A%2F%2Fwww.example1.com%2F%22%3EThis+wont+work%3C%2Fa%3E%3C%2Fh3%3E%0A%3Cp%3EParagraph+one+is+okay+%3C%2Fp%3E%0A%3Ch3%3E2.+%3Ca+href%3D%22https%3A%2F%2Fwww.example2.com%2F%22%3ENot+working%3C%2Fa%3E%3C%2Fh3%3E%0A%3Cp%3EParagraph+two+is+okay+%3C%2Fp%3E%0A%3Ch3%3E3.+Neither+this+one%3C%2Fh3%3E%0A%3Ch3%3EBut+this+works+again%3C%2Fh3%3E%0A%3C%2Fdiv%3E'
20 1 NEW $6 'DOMDocument'
2 DO_FCALL 0
3 ASSIGN !1, $6
21 4 INIT_METHOD_CALL !1, 'loadHTML'
5 SEND_VAR_EX !0
6 SEND_VAL_EX 8196
7 DO_FCALL 0
22 8 NEW $10 'DOMXPath'
9 SEND_VAR_EX !1
10 DO_FCALL 0
11 ASSIGN !2, $10
23 12 INIT_METHOD_CALL !2, 'query'
13 SEND_VAL_EX '%2F%2Fh2+%7C+%2F%2Fh3'
14 DO_FCALL 0 $13
15 > FE_RESET_R $14 $13, ->38
16 > > FE_FETCH_R $14, !3, ->38
24 17 > INIT_FCALL 'preg_match'
18 SEND_VAL '%7E%5E%5Cs%2A%28%3F%3A%5Cd%2B%5C.%29%3F%5Cs%2A%5CK%5CS%2B%28%3F%3A%5Cs%2B%5CS%2B%29%7B1%2C2%7D%7E'
19 FETCH_OBJ_R ~15 !3, 'nodeValue'
20 SEND_VAL ~15
21 SEND_REF !4
22 DO_ICALL $16
23 > JMPZ $16, ->37
25 24 > INIT_METHOD_CALL !3, 'setAttribute'
25 SEND_VAL_EX 'id'
26 INIT_FCALL 'str_replace'
27 SEND_VAL '+'
28 SEND_VAL '-'
29 INIT_FCALL 'strtolower'
30 FETCH_DIM_R ~17 !4, 0
31 SEND_VAL ~17
32 DO_ICALL $18
33 SEND_VAR $18
34 DO_ICALL $19
35 SEND_VAR_NO_REF_EX $19
36 DO_FCALL 0
23 37 > > JMP ->16
38 > FE_FREE $14
28 39 INIT_METHOD_CALL !1, 'saveHTML'
40 DO_FCALL 0 $21
41 ECHO $21
42 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0