3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = utf8_encode("my Ütger"); var_dump($value); var_dump(iconv("UTF-8", "UTF-8//IGNORE", $value)); var_dump(utf8_Decode($value)); var_dump(utf8_Decode(utf8_Decode($value)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dI4D1
function name:  (null)
number of ops:  31
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'utf8_encode'
          1        SEND_VAL                                                 'my+%C3%9Ctger'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL_BY_NAME                                       'iconv'
          9        SEND_VAL_EX                                              'UTF-8'
         10        SEND_VAL_EX                                              'UTF-8%2F%2FIGNORE'
         11        SEND_VAR_EX                                              !0
         12        DO_FCALL                                      0  $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                                 
    6    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'utf8_decode'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $6      
         19        SEND_VAR                                                 $6
         20        DO_ICALL                                                 
    7    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'utf8_decode'
         23        INIT_FCALL                                               'utf8_decode'
         24        SEND_VAR                                                 !0
         25        DO_ICALL                                         $8      
         26        SEND_VAR                                                 $8
         27        DO_ICALL                                         $9      
         28        SEND_VAR                                                 $9
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.29 ms | 1395 KiB | 22 Q