3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ptr = (int)0x8000; $ptr++; var_dump($ptr); echo dechex(32769);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hX4rc
function name:  (null)
number of ops:  11
compiled vars:  !0 = $ptr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CAST                                          4  ~1      32768
          1        ASSIGN                                                   !0, ~1
    3     2        PRE_INC                                                  !0
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'dechex'
          7        SEND_VAL                                                 32769
          8        DO_ICALL                                         $5      
          9        ECHO                                                     $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.75 ms | 1393 KiB | 17 Q