3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = "test_mit_schÄnen_strand"; $search = ['Ä', 'Ö', 'Ü', 'ä', 'ö', 'ü', 'ß']; $replace = ['Ae', 'Oe', 'Ue', 'ae', 'oe', 'ue', 'ss']; $result = str_replace($search, $replace, $value); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/63brj
function name:  (null)
number of ops:  13
compiled vars:  !0 = $value, !1 = $search, !2 = $replace, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'test_mit_sch%C3%84nen_strand'
    5     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN                                                   !2, <array>
    7     3        INIT_FCALL                                               'str_replace'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $7      
          8        ASSIGN                                                   !3, $7
    9     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.99 ms | 1005 KiB | 15 Q