3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nvalue = utf8_decode( 'Baden-Wûrttemberg' ); echo $nvalue; $n2value = str_replace( 'û','u', $nvalue ); echo $n2value;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cFQTX
function name:  (null)
number of ops:  13
compiled vars:  !0 = $nvalue, !1 = $n2value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'utf8_decode'
          1        SEND_VAL                                                 'Baden-W%C3%83%C2%BBrttemberg'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        ECHO                                                     !0
    4     5        INIT_FCALL                                               'str_replace'
          6        SEND_VAL                                                 '%C3%BB'
          7        SEND_VAL                                                 'u'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
    5    11        ECHO                                                     !1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.42 ms | 1394 KiB | 17 Q