3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.73 ms | 1393 KiB | 15 Q