3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (mb_list_encodings() as $encoding) { echo $encoding, ': ', bin2hex(mb_convert_encoding('รถ', $encoding, 'UTF-8')), PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 17
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 17
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/u9sq8
function name:  (null)
number of ops:  19
compiled vars:  !0 = $encoding
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_list_encodings'
          1        DO_ICALL                                         $1      
          2      > FE_RESET_R                                       $2      $1, ->17
          3    > > FE_FETCH_R                                               $2, !0, ->17
    4     4    >   ECHO                                                     !0
          5        ECHO                                                     '%3A+'
          6        INIT_FCALL                                               'bin2hex'
          7        INIT_FCALL                                               'mb_convert_encoding'
          8        SEND_VAL                                                 '%C3%B6'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'UTF-8'
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        ECHO                                                     $4
         15        ECHO                                                     '%0A'
    3    16      > JMP                                                      ->3
         17    >   FE_FREE                                                  $2
    5    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.69 ms | 1395 KiB | 19 Q