3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('/[^a-zA-Z0-9\s\-=+\|!@#$%^&*()`~\[\]{};:\'",<.>\/?]/', "", "Olá, mundo!");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uNSQU
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%5B%5Ea-zA-Z0-9%5Cs%5C-%3D%2B%5C%7C%21%40%23%24%25%5E%26%2A%28%29%60%7E%5C%5B%5C%5D%7B%7D%3B%3A%27%22%2C%3C.%3E%5C%2F%3F%5D%2F'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 'Ol%C3%A1%2C+mundo%21'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.21 ms | 1394 KiB | 15 Q