3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.72 ms | 1394 KiB | 17 Q