Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/57Wq8 function name: (null) number of ops: 7 compiled vars: !0 = $str, !1 = $newStr line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 20 0 E > ASSIGN !0, 'Hi+bro%21+Look+at+my+new+website%3A+www.example.com.+I+leard+to+build+websites+from+http%3A%2F%2Fanother.example.net+and+from+example.net.' 22 1 INIT_FCALL 'txt2link' 2 SEND_VAR !0 3 DO_FCALL 0 $3 4 ASSIGN !1, $3 24 5 ECHO !1 6 > RETURN 1 Function txt2link: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 38 Branch analysis from position: 26 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 38 filename: /in/57Wq8 function name: txt2link number of ops: 40 compiled vars: !0 = $text, !1 = $reg_exUrl, !2 = $url line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 3 0 E > RECV !0 5 1 INIT_FCALL 'preg_replace' 2 SEND_VAL 'www%5C.' 3 SEND_VAL 'http%3A%2F%2Fwww.' 4 SEND_VAR !0 5 DO_ICALL $3 6 ASSIGN !0, $3 7 7 INIT_FCALL 'preg_replace' 8 SEND_VAL 'http%3A%2F%2Fhttp%3A%2F%2Fwww%5C.' 9 SEND_VAL 'http%3A%2F%2Fwww.' 10 SEND_VAR !0 11 DO_ICALL $5 12 ASSIGN !0, $5 8 13 INIT_FCALL 'preg_replace' 14 SEND_VAL 'https%3A%2F%2Fhttp%3A%2F%2Fwww%5C.' 15 SEND_VAL 'https%3A%2F%2Fwww.' 16 SEND_VAR !0 17 DO_ICALL $7 18 ASSIGN !0, $7 11 19 ASSIGN !1, '%2F%28http%7Chttps%7Cftp%7Cftps%29%5C%3A%5C%2F%5C%2F%5Ba-zA-Z0-9%5C-%5C.%5D%2B%5C.%5Ba-zA-Z%5D%7B2%2C3%7D%28%5C%2F%5CS%2A%29%3F%2F' 13 20 INIT_FCALL 'preg_match' 21 SEND_VAR !1 22 SEND_VAR !0 23 SEND_REF !2 24 DO_ICALL $10 25 > JMPZ $10, ->38 15 26 > INIT_FCALL 'preg_replace' 27 SEND_VAR !1 28 FETCH_DIM_R ~11 !2, 0 29 CONCAT ~12 '%3Ca+href%3D%22', ~11 30 CONCAT ~13 ~12, '%22+rel%3D%22nofollow%22%3E' 31 FETCH_DIM_R ~14 !2, 0 32 CONCAT ~15 ~13, ~14 33 CONCAT ~16 ~15, '%3C%2Fa%3E' 34 SEND_VAL ~16 35 SEND_VAR !0 36 DO_ICALL $17 37 ASSIGN !0, $17 17 38 > > RETURN !0 18 39* > RETURN null End of function txt2link
Generated using Vulcan Logic Dumper, using php 8.0.0