3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.75 ms | 1398 KiB | 17 Q