3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("%u\n",0xffffffff); printf("%d\n", (int)0xffffffff); var_dump( 0xffffffff); var_dump( 0xffffffff | 0x0fffffff);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AZVGT
function name:  (null)
number of ops:  16
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                                                 4294967295
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '%25d%0A'
          6        CAST                                          4  ~1      4294967295
          7        SEND_VAL                                                 ~1
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 4294967295
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 4294967295
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.13 ms | 1394 KiB | 17 Q