3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '¡ÉQuÁÉÍÓÚ fríoÍ!'; //$text = str_replace(array('¡','Á','É','Í','Ó','Ú'), array('','á','é','í','ó','ú'), $text); $text = preg_replace('/[^a-zA-Z0-9áéíóúñÁÉÍÓÚÑ¡\', ]/i','',$text); echo $text; die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/2qhrt
function name:  (null)
number of ops:  10
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C2%A1%C3%89Qu%C3%81%C3%89%C3%8D%C3%93%C3%9A+fr%C3%ADo%C3%8D%21'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5Ea-zA-Z0-9%C3%A1%C3%A9%C3%AD%C3%B3%C3%BA%C3%B1%C3%81%C3%89%C3%8D%C3%93%C3%9A%C3%91%C2%A1%27%2C+%5D%2Fi'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    7     7        ECHO                                                     !0
    8     8      > EXIT                                                     
          9*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.37 ms | 1398 KiB | 15 Q