Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/rQG0c function name: (null) number of ops: 5 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 28 0 E > INIT_FCALL 'changeimagepath' 29 1 SEND_VAL '%3Cdiv+class%3D%22wrapper%22%3E%0A%0A%3Cimg+src%3D%22img%2Fdemo%2Fdesktop-img%2Fsample1.jpg%22+width%3D%22200%22+height%3D%22200%22+alt%3D%22image%22%3E%0A%3Cimg+src%3D%22img%2Fdemo%2Fdesktop-img%2Fsample2.jpg%22+width%3D%22200%22+height%3D%22200%22+alt%3D%22image%22%3E%0A%0A%3Cpre%3E%0A%3Cimg+src%3D%22img%2Fdemo%2Fdesktop-img%2Fsample1.jpg%22+width%3D%22200%22+height%3D%22200%22+alt%3D%22image%22%3E%0A%3Cimg+src%3D%22img%2Fdemo%2Fdesktop-img%2Fsample2.jpg%22+width%3D%22200%22+height%3D%22200%22+alt%3D%22image%22%3E%0A%3C%2Fpre%3E%0A%0A%3Ccode%3E%0A%3Cimg+src%3D%22img%2Fdemo%2Fdesktop-img%2Fsample1.jpg%22+width%3D%22200%22+height%3D%22200%22+alt%3D%22image%22%3E%0A%3Cimg+src%3D%22img%2Fdemo%2Fdesktop-img%2Fsample2.jpg%22+width%3D%22200%22+height%3D%22200%22+alt%3D%22image%22%3E%0A%3C%2Fcode%3E%0A%0A%3C%2Fdiv%3E' 2 DO_FCALL 0 $0 3 ECHO $0 46 4 > RETURN 1 Function walkdom: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 7 Branch analysis from position: 4 2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10 Branch analysis from position: 8 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 10 2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 31 Branch analysis from position: 13 1 jumps found. (Code = 42) Position 1 = 52 Branch analysis from position: 52 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 31 2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 52 Branch analysis from position: 34 2 jumps found. (Code = 77) Position 1 = 42, Position 2 = 51 Branch analysis from position: 42 2 jumps found. (Code = 78) Position 1 = 43, Position 2 = 51 Branch analysis from position: 43 1 jumps found. (Code = 42) Position 1 = 42 Branch analysis from position: 42 Branch analysis from position: 51 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 51 Branch analysis from position: 52 Branch analysis from position: 7 filename: /in/rQG0c function name: walkDOM number of ops: 53 compiled vars: !0 = $node, !1 = $idx line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 2 0 E > RECV !0 4 1 FETCH_OBJ_R ~2 !0, 'nodeName' 2 IS_EQUAL ~3 ~2, 'pre' 3 > JMPNZ_EX ~3 ~3, ->7 4 > FETCH_OBJ_R ~4 !0, 'nodeName' 5 IS_EQUAL ~5 ~4, 'code' 6 BOOL ~3 ~5 7 > > JMPZ ~3, ->10 6 8 > > RETURN null 9* JMP ->52 8 10 > FETCH_OBJ_R ~6 !0, 'nodeName' 11 IS_EQUAL ~6, 'img' 12 > JMPZ ~7, ->31 10 13 > FETCH_OBJ_R ~8 !0, 'attributes' 14 INIT_METHOD_CALL ~8, 'getNamedItem' 15 SEND_VAL_EX 'src' 16 DO_FCALL 0 $9 17 SEPARATE $9 $9 18 INIT_FCALL 'str_replace' 19 SEND_VAL 'desktop-img' 20 SEND_VAL 'mobile-img' 21 FETCH_OBJ_R ~11 !0, 'attributes' 22 INIT_METHOD_CALL ~11, 'getNamedItem' 23 SEND_VAL_EX 'src' 24 DO_FCALL 0 $12 25 FETCH_OBJ_R ~13 $12, 'nodeValue' 26 SEND_VAL ~13 27 DO_ICALL $14 28 ASSIGN_OBJ $9, 'nodeValue' 29 OP_DATA $14 30 > JMP ->52 12 31 > INIT_METHOD_CALL !0, 'hasChildNodes' 32 DO_FCALL 0 $15 33 > JMPZ $15, ->52 14 34 > INIT_FCALL 'range' 35 SEND_VAL 0 36 FETCH_OBJ_R ~16 !0, 'childNodes' 37 FETCH_OBJ_R ~17 ~16, 'length' 38 SUB ~18 ~17, 1 39 SEND_VAL ~18 40 DO_ICALL $19 41 > FE_RESET_R $20 $19, ->51 42 > > FE_FETCH_R $20, !1, ->51 16 43 > INIT_FCALL_BY_NAME 'walkDOM' 44 FETCH_OBJ_R ~21 !0, 'childNodes' 45 INIT_METHOD_CALL ~21, 'item' 46 SEND_VAR_EX !1 47 DO_FCALL 0 $22 48 SEND_VAR_NO_REF_EX $22 49 DO_FCALL 0 14 50 > JMP ->42 51 > FE_FREE $20 19 52 > > RETURN null End of function walkdom Function changeimagepath: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/rQG0c function name: changeImagePath number of ops: 16 compiled vars: !0 = $html, !1 = $dom, !2 = $root line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 20 0 E > RECV !0 22 1 NEW $3 'DOMDocument' 2 DO_FCALL 0 3 ASSIGN !1, $3 23 4 INIT_METHOD_CALL !1, 'loadHTML' 5 SEND_VAR_EX !0 6 DO_FCALL 0 24 7 FETCH_OBJ_R ~7 !1, 'documentElement' 8 ASSIGN !2, ~7 25 9 INIT_FCALL 'walkdom' 10 SEND_VAR !2 11 DO_FCALL 0 26 12 INIT_METHOD_CALL !1, 'saveHTML' 13 DO_FCALL 0 $10 14 > RETURN $10 27 15* > RETURN null End of function changeimagepath
Generated using Vulcan Logic Dumper, using php 8.0.0