3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('default-charset', 'utf-8'); var_dump(strtr("Sökning på", "äåö", "aao"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ta9ro
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'default-charset'
          2        SEND_VAL                                                 'utf-8'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'strtr'
          6        SEND_VAL                                                 'S%C3%B6kning+p%C3%A5'
          7        SEND_VAL                                                 '%C3%A4%C3%A5%C3%B6'
          8        SEND_VAL                                                 'aao'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.34 ms | 1394 KiB | 19 Q