3v4l.org

run code in 300+ PHP versions simultaneously
<?php $variables['arguments'] = ['foo_bar']; var_dump(preg_replace('/[^a-zA-Z0-9]/', '_', $variables['arguments']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lsbEX
function name:  (null)
number of ops:  12
compiled vars:  !0 = $variables
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'arguments'
          1        OP_DATA                                                  <array>
    4     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAL                                                 '%2F%5B%5Ea-zA-Z0-9%5D%2F'
          5        SEND_VAL                                                 '_'
          6        FETCH_DIM_R                                      ~2      !0, 'arguments'
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.26 ms | 1004 KiB | 15 Q