3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = date('G'); $timestamp = strtotime($time); $timestamp_one_hour_later = $timestamp + 3600; echo $time; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mgW5c
function name:  (null)
number of ops:  12
compiled vars:  !0 = $time, !1 = $timestamp, !2 = $timestamp_one_hour_later
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'G'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    4     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    5     8        ADD                                              ~7      !1, 3600
          9        ASSIGN                                                   !2, ~7
    8    10        ECHO                                                     !0
    9    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.33 ms | 1394 KiB | 17 Q