3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sir_title1 = array("ă", "Ă", "î", "Î", "ş", "ș", "Ş", "ţ", "Ţ", "â", "Â", "„", "“", " ", ",", ".", "”", "«", "»", "–", "?"); $sir_title2 = array("a", "A", "i", "I", "s", "s", "S", "t", "T", "a", "A", "", "", "-", "-", "-", "", "", "", "-", ""); $string = "Francezul care a făcut aproape 9 miliarde într-un an la Botoșani, a ciocănit într-un hotel la porțile raiului – VIDEO & GALERIE FOTO"; print (str_replace($sir_title1, $sir_title2, $string)); toAscii($string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rbn0G
function name:  (null)
number of ops:  13
compiled vars:  !0 = $sir_title1, !1 = $sir_title2, !2 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, <array>
    7     2        ASSIGN                                                   !2, 'Francezul+care+a+f%C4%83cut+aproape+9+miliarde+%C3%AEntr-un+an+la+Boto%C8%99ani%2C+a+cioc%C4%83nit+%C3%AEntr-un+hotel+la+por%C8%9Bile+raiului+%E2%80%93+VIDEO+%26+GALERIE+FOTO'
    9     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $6      
          8        ECHO                                                     $6
   11     9        INIT_FCALL_BY_NAME                                       'toAscii'
         10        SEND_VAR_EX                                              !2
         11        DO_FCALL                                      0          
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.17 ms | 1394 KiB | 15 Q