3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = preg_replace('\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]', '', $string); $string = "Here is another funny site here we.Go to the"; echo "Cleaned: " . cleaner($url);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cWHrQ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%5Cb%28https%3F%7Cftp%7Cfile%29%3A%2F%2F%5B-A-Z0-9%2B%26%40%23%2F%25%3F%3D%7E_%7C%21%3A%2C.%3B%5D%2A%5B-A-Z0-9%2B%26%40%23%2F%25%3D%7E_%7C%5D'
          2        SEND_VAL                                                 ''
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    5     6        ASSIGN                                                   !0, 'Here+is+another+funny+site+here+we.Go+to+the'
    6     7        INIT_FCALL_BY_NAME                                       'cleaner'
          8        SEND_VAR_EX                                              !1
          9        DO_FCALL                                      0  $5      
         10        CONCAT                                           ~6      'Cleaned%3A+', $5
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.9 ms | 1394 KiB | 15 Q