3v4l.org

run code in 500+ PHP versions simultaneously
<?php $name = 'Hello (GB)'; $name = preg_replace('/[[:^alnum:]]/', '', strtolower($name)); var_dump($name);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/14t02
function name:  (null)
number of ops:  11
compiled vars:  !0 = $name
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Hello+%28GB%29'
    4     1        INIT_FCALL                                                   'strtolower'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $2      
          4        FRAMELESS_ICALL_3                preg_replace        ~3      '%2F%5B%5B%3A%5Ealnum%3A%5D%5D%2F', ''
          5        OP_DATA                                                      $2
          6        ASSIGN                                                       !0, ~3
    5     7        INIT_FCALL                                                   'var_dump'
          8        SEND_VAR                                                     !0
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.51 ms | 1388 KiB | 15 Q