3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = -1 * (pow(2, 16)-1); echo PHP_INT_SIZE, PHP_EOL; echo date('Y-m-d', $a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hClV7
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'pow'
          1        SEND_VAL                                                 2
          2        SEND_VAL                                                 16
          3        DO_ICALL                                         $1      
          4        SUB                                              ~2      $1, 1
          5        MUL                                              ~3      ~2, -1
          6        ASSIGN                                                   !0, ~3
    5     7        ECHO                                                     8
          8        ECHO                                                     '%0A'
    8     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'Y-m-d'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        ECHO                                                     $5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.67 ms | 939 KiB | 18 Q