3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo iconv(mb_detect_encoding($text, mb_detect_order(), true), "UTF-8", "Balen\u00ed<\/span>Metry<\/span>");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XcWL5
function name:  (null)
number of ops:  14
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'iconv'
          1        INIT_FCALL                                               'mb_detect_encoding'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'mb_detect_order'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $2      
          8        SEND_VAR_NO_REF_EX                                       $2
          9        SEND_VAL_EX                                              'UTF-8'
         10        SEND_VAL_EX                                              'Balen%5Cu00ed%3C%5C%2Fspan%3EMetry%3C%5C%2Fspan%3E'
         11        DO_FCALL                                      0  $3      
         12        ECHO                                                     $3
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.29 ms | 1386 KiB | 20 Q