3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex("®"), "\n", bin2hex(iconv("UTF-8", "Windows-1252", "®"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lNhjZ
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                                                 '%C2%AE'
          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                                              '%C2%AE'
         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:
173.36 ms | 1394 KiB | 15 Q