3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = ''; var_dump( $input ); var_dump( iconv(mb_detect_encoding($input, mb_detect_order(), true), "UTF-8", $input) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hquo5
function name:  (null)
number of ops:  20
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%01%03%03%04'
    5     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    6     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL_BY_NAME                                       'iconv'
          6        INIT_FCALL                                               'mb_detect_encoding'
          7        SEND_VAR                                                 !0
          8        INIT_FCALL                                               'mb_detect_order'
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $4      
         13        SEND_VAR_NO_REF_EX                                       $4
         14        SEND_VAL_EX                                              'UTF-8'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0  $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.93 ms | 1394 KiB | 22 Q