3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex("my utf8 string áéíóú"), "\n", bin2hex(iconv("UTF-8", "Windows-1252", "my utf8 string áéíóú"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PnfKI
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'bin2hex'
          1        SEND_VAL                                                 'my+utf8+string+%C3%A1%C3%A9%C3%AD%C3%B3%C3%BA'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
          4        ECHO                                                     '%0A'
          5        INIT_FCALL                                               'bin2hex'
          6        INIT_FCALL_BY_NAME                                       'iconv'
          7        SEND_VAL_EX                                              'UTF-8'
          8        SEND_VAL_EX                                              'Windows-1252'
          9        SEND_VAL_EX                                              'my+utf8+string+%C3%A1%C3%A9%C3%AD%C3%B3%C3%BA'
         10        DO_FCALL                                      0  $1      
         11        SEND_VAR                                                 $1
         12        DO_ICALL                                         $2      
         13        ECHO                                                     $2
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.06 ms | 1394 KiB | 15 Q