3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = strtotime("2014-02-20 19:30:00"); $timestamp = strtotime('-2 day', $timestamp); echo $timestamp; echo time();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fP7Pc
function name:  (null)
number of ops:  14
compiled vars:  !0 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2014-02-20+19%3A30%3A00'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    4     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '-2+day'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
    7     9        ECHO                                                     !0
    8    10        INIT_FCALL                                               'time'
         11        DO_ICALL                                         $5      
         12        ECHO                                                     $5
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.43 ms | 1394 KiB | 17 Q