3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("%ld\n", 0x7fffffffffffffff); // PHP max int on 64 bit printf("%ld\n", 0x7fffffffffffffff+1); // float cast to int == -9 quintillion and 8 number b/c of 2C
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gCQGq
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 '%25ld%0A'
          2        SEND_VAL                                                 9223372036854775807
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '%25ld%0A'
          6        SEND_VAL                                                 9.22337e+18
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.87 ms | 1398 KiB | 15 Q