3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( '\x' . implode( '\x', array_map( 'bin2hex', str_split( 'ABC'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dMtHS
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%5Cx'
          3        INIT_FCALL                                               'array_map'
          4        SEND_VAL                                                 'bin2hex'
          5        INIT_FCALL                                               'str_split'
          6        SEND_VAL                                                 'ABC'
          7        DO_ICALL                                         $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        CONCAT                                           ~3      '%5Cx', $2
         13        SEND_VAL                                                 ~3
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.36 ms | 1398 KiB | 21 Q