3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Australia/Melbourne'); $time = date('G:i'); $timestamp = strtotime($time); $timestamp_one_hour_later = $timestamp + 3600; echo $time; echo "<br>"; echo $timestamp; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m11ps
function name:  (null)
number of ops:  17
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_default_timezone_set'
          1        SEND_VAL                                                 'Australia%2FMelbourne'
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'G%3Ai'
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !0, $4
    6     7        INIT_FCALL                                               'strtotime'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
    7    11        ADD                                              ~8      !1, 3600
         12        ASSIGN                                                   !2, ~8
   10    13        ECHO                                                     !0
   11    14        ECHO                                                     '%3Cbr%3E'
   12    15        ECHO                                                     !1
   13    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.96 ms | 1394 KiB | 19 Q