3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Here is another funny site here we.Go to the"; $string = preg_replace("/(^¦\s)(http:\/\/)?(www\.)?[\.0-9a-zA-Z\-_~]+\.(com¦net¦org¦info¦name¦biz¦.+\.\w\w)((\/)?[0-9a-zA-Z\.\-_~#]+)?\b/ie","",$string); echo "Cleaned: " . $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cHS2J
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Here+is+another+funny+site+here+we.Go+to+the'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%28%5E%C2%A6%5Cs%29%28http%3A%5C%2F%5C%2F%29%3F%28www%5C.%29%3F%5B%5C.0-9a-zA-Z%5C-_%7E%5D%2B%5C.%28com%C2%A6net%C2%A6org%C2%A6info%C2%A6name%C2%A6biz%C2%A6.%2B%5C.%5Cw%5Cw%29%28%28%5C%2F%29%3F%5B0-9a-zA-Z%5C.%5C-_%7E%23%5D%2B%29%3F%5Cb%2Fie'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    7     7        CONCAT                                           ~4      'Cleaned%3A+', !0
          8        ECHO                                                     ~4
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.12 ms | 1398 KiB | 15 Q