3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'http://prokofolio.com/user/js/jquery.tinymce/jscripts/tiny_mce/plugins/ajaxfilemanager/inc/data.php'; $rep = '/ajaxfilemanager\/.*/'; echo preg_replace($rep, 'ajaxfilemanager/', $str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YUcq6
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str, !1 = $rep
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fprokofolio.com%2Fuser%2Fjs%2Fjquery.tinymce%2Fjscripts%2Ftiny_mce%2Fplugins%2Fajaxfilemanager%2Finc%2Fdata.php'
    3     1        ASSIGN                                                   !1, '%2Fajaxfilemanager%5C%2F.%2A%2F'
    4     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 'ajaxfilemanager%2F'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        ECHO                                                     $4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.62 ms | 1394 KiB | 15 Q