3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'language.config.system.settings'; $prefix = 'language.config.[^\.]*.'; print preg_replace('!^'. $prefix . '(.+)!', '\1', $name);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cGthG
function name:  (null)
number of ops:  11
compiled vars:  !0 = $name, !1 = $prefix
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'language.config.system.settings'
    3     1        ASSIGN                                                   !1, 'language.config.%5B%5E%5C.%5D%2A.'
    4     2        INIT_FCALL                                               'preg_replace'
          3        CONCAT                                           ~4      '%21%5E', !1
          4        CONCAT                                           ~5      ~4, '%28.%2B%29%21'
          5        SEND_VAL                                                 ~5
          6        SEND_VAL                                                 '%5C1'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        ECHO                                                     $6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
236.34 ms | 1394 KiB | 15 Q