3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('REQUEST_TIME', (int) $_SERVER['REQUEST_TIME']); $test_period = 788400000; echo '<pre>' . print_r($_SERVER) . '</pre>'; echo REQUEST_TIME - $test_period;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KUrRi
function name:  (null)
number of ops:  19
compiled vars:  !0 = $test_period
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'REQUEST_TIME'
          2        FETCH_R                      global              ~1      '_SERVER'
          3        FETCH_DIM_R                                      ~2      ~1, 'REQUEST_TIME'
          4        CAST                                          4  ~3      ~2
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    5     7        ASSIGN                                                   !0, 788400000
    7     8        INIT_FCALL                                               'print_r'
          9        FETCH_R                      global              ~6      '_SERVER'
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                         $7      
         12        CONCAT                                           ~8      '%3Cpre%3E', $7
         13        CONCAT                                           ~9      ~8, '%3C%2Fpre%3E'
         14        ECHO                                                     ~9
    9    15        FETCH_CONSTANT                                   ~10     'REQUEST_TIME'
         16        SUB                                              ~11     ~10, !0
         17        ECHO                                                     ~11
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.66 ms | 1399 KiB | 17 Q