3v4l.org

run code in 300+ PHP versions simultaneously
<?php function remTxt( $text ) { //echo preg_replace("/[^0-9]/","",$text); echo preg_replace("#(^|[\n ])(([\w]+?://[\w\#$%&~.\-;:=,?@\[\]+]*)(/[\w\#$%&~/.\-;:=,?@\[\]+]*)?)#is", "\\1<a href=\"\\2\" title=\"\\2\" rel=\"nofollow\">\\2</a>", $text); } remTxt("123wret456fgh678"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mMKjo
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'remtxt'
          1        SEND_VAL                                                 '123wret456fgh678'
          2        DO_FCALL                                      0          
   10     3      > RETURN                                                   1

Function remtxt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mMKjo
function name:  remTxt
number of ops:  8
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%28%5E%7C%5B%0A+%5D%29%28%28%5B%5Cw%5D%2B%3F%3A%2F%2F%5B%5Cw%5C%23%24%25%26%7E.%5C-%3B%3A%3D%2C%3F%40%5C%5B%5C%5D%2B%5D%2A%29%28%2F%5B%5Cw%5C%23%24%25%26%7E%2F.%5C-%3B%3A%3D%2C%3F%40%5C%5B%5C%5D%2B%5D%2A%29%3F%29%23is'
          3        SEND_VAL                                                 '%5C1%3Ca+href%3D%22%5C2%22+title%3D%22%5C2%22+rel%3D%22nofollow%22%3E%5C2%3C%2Fa%3E'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
    6     7      > RETURN                                                   null

End of function remtxt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.48 ms | 1389 KiB | 16 Q