3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nom = "Märie Du jean Grénaille"; $nomfilter = array(" ","ÁÀÂÄÃÅÇÉÈÊËÍÏÎÌÑÓÒÔÖÕÚÙÛÜÝ","áàâäãåçéèêëíìîïñóòôöõúùûüýÿ"); $nomremplacement = array("_","AAAAAACEEEEEIIIINOOOOOUUUUY","aaaaaaceeeeiiiinooooouuuuyy"); $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/mb1Wl
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%A9naille'
    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:
232.12 ms | 1394 KiB | 15 Q