3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.18 ms | 1394 KiB | 19 Q