3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("%u\n",0xffffffffffffffff ); // 0 printf("%d\n",0xffffffffffffffff ); // 0 printf("%f\n", hexdec("ffffffffffffffff")); // max integer that can be stored as floating pt value (2 ** 53) -1: var_dump( 0x001fffffffffffff ); // float 9.007199254741E+15 var_dump( (int) 0x001fffffffffffff); // int -1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vae9h
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 '%25u%0A'
          2        SEND_VAL                                                 1.84467e+19
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '%25d%0A'
          6        SEND_VAL                                                 1.84467e+19
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'printf'
          9        SEND_VAL                                                 '%25f%0A'
         10        INIT_FCALL                                               'hexdec'
         11        SEND_VAL                                                 'ffffffffffffffff'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                                 
    7    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAL                                                 9007199254740991
         17        DO_ICALL                                                 
    8    18        INIT_FCALL                                               'var_dump'
         19        CAST                                          4  ~5      9007199254740991
         20        SEND_VAL                                                 ~5
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.42 ms | 1395 KiB | 19 Q