3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "aƄ"; var_dump(bin2hex($string)); var_dump(md5($string)); var_dump(bin2hex(mb_convert_encoding($string, "UTF-8"))); var_dump(md5(mb_convert_encoding($string, "UTF-8")));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Perfe
function name:  (null)
number of ops:  34
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a%C3%A5'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'bin2hex'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'md5'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
    5    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'bin2hex'
         15        INIT_FCALL                                               'mb_convert_encoding'
         16        SEND_VAR                                                 !0
         17        SEND_VAL                                                 'UTF-8'
         18        DO_ICALL                                         $6      
         19        SEND_VAR                                                 $6
         20        DO_ICALL                                         $7      
         21        SEND_VAR                                                 $7
         22        DO_ICALL                                                 
    6    23        INIT_FCALL                                               'var_dump'
         24        INIT_FCALL                                               'md5'
         25        INIT_FCALL                                               'mb_convert_encoding'
         26        SEND_VAR                                                 !0
         27        SEND_VAL                                                 'UTF-8'
         28        DO_ICALL                                         $9      
         29        SEND_VAR                                                 $9
         30        DO_ICALL                                         $10     
         31        SEND_VAR                                                 $10
         32        DO_ICALL                                                 
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.19 ms | 1396 KiB | 21 Q