3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('UTC'); $now = time(); echo $now . "\n" . strtotime('+900 second', $now) . "\n"; var_dump( strtotime('+900 second', $now) > $now );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fnHFk
function name:  (null)
number of ops:  23
compiled vars:  !0 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'UTC'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'time'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    4     6        CONCAT                                           ~4      !0, '%0A'
          7        INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 '%2B900+second'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        CONCAT                                           ~6      ~4, $5
         12        CONCAT                                           ~7      ~6, '%0A'
         13        ECHO                                                     ~7
    5    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 '%2B900+second'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $8      
         19        IS_SMALLER                                       ~9      !0, $8
         20        SEND_VAL                                                 ~9
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.43 ms | 1395 KiB | 21 Q