3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source = mb_convert_encoding('test', "unicode", "utf-8"); $source = unpack('C*', $source); var_dump($source);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DDrq8
function name:  (null)
number of ops:  15
compiled vars:  !0 = $source
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_convert_encoding'
          1        SEND_VAL                                                 'test'
          2        SEND_VAL                                                 'unicode'
          3        SEND_VAL                                                 'utf-8'
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    4     6        INIT_FCALL                                               'unpack'
          7        SEND_VAL                                                 'C%2A'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $3      
         10        ASSIGN                                                   !0, $3
    5    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.9 ms | 1394 KiB | 19 Q