3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "äöü"."-".utf8_encode("äöü")."-".utf8_encode(utf8_encode("äöü"))."-".mb_convert_encoding("äöü", 'UTF-8')."-".mb_convert_encoding(utf8_encode("äöü"), 'UTF-8');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A70dL
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'utf8_encode'
          1        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
          2        DO_ICALL                                         $0      
          3        CONCAT                                           ~1      '%C3%A4%C3%B6%C3%BC-', $0
          4        CONCAT                                           ~2      ~1, '-'
          5        INIT_FCALL                                               'utf8_encode'
          6        INIT_FCALL                                               'utf8_encode'
          7        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        CONCAT                                           ~5      ~2, $4
         12        CONCAT                                           ~6      ~5, '-'
         13        INIT_FCALL                                               'mb_convert_encoding'
         14        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         15        SEND_VAL                                                 'UTF-8'
         16        DO_ICALL                                         $7      
         17        CONCAT                                           ~8      ~6, $7
         18        CONCAT                                           ~9      ~8, '-'
         19        INIT_FCALL                                               'mb_convert_encoding'
         20        INIT_FCALL                                               'utf8_encode'
         21        SEND_VAL                                                 '%C3%A4%C3%B6%C3%BC'
         22        DO_ICALL                                         $10     
         23        SEND_VAR                                                 $10
         24        SEND_VAL                                                 'UTF-8'
         25        DO_ICALL                                         $11     
         26        CONCAT                                           ~12     ~9, $11
         27        ECHO                                                     ~12
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.02 ms | 1395 KiB | 17 Q