3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nom = "Märie Du jean Grénçaille"; $nomfilter = array(" ","Á","À","Â","Ä","Ã","Å","Ç","É","È","Ê","Ë","Í","Ï","Î","Ì","Ñ","Ó","Ò","Ô","Ö","Õ","Ú","Ù","Û","Ü","Ý","á","à","â","ä","ã","å","ç","é","è","ê","ë","í","ì","î","ï","ñ","ó","ò","ô","ö","õ","ú","ù","û","ü","ý","ÿ"); $nomremplacement = array("_","A","A","A","A","A","A","C","E","E","E","E","E","I","I","I","I","N","O","O","O","O","O","U","U","U","U","Y","a","a","a","a","a","a","c","e","e","e","e","i","i","i","i","n","o","o","o","o","o","u","u","u","u","y","y"); $nom = str_replace($nomfilter, $nomremplacement, $nom); echo $nom;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uparD
function name:  (null)
number of ops:  11
compiled vars:  !0 = $nom, !1 = $nomfilter, !2 = $nomremplacement
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'M%C3%A4rie+Du+jean+Gr%C3%A9n%C3%A7aille'
    5     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN                                                   !2, <array>
    8     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !0, $6
   10     9        ECHO                                                     !0
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.55 ms | 1394 KiB | 15 Q