3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeStamp = strtotime(time()); $ayer = time() - 1 * 24 * 60 * 60; $ayer = 1377921600; echo PHP_EOL; echo date(DATE_ATOM, $ayer); echo strtotime('2013-07-29 04:00:00 UTC');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vki29
function name:  (null)
number of ops:  22
compiled vars:  !0 = $timeStamp, !1 = $ayer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'time'
          2        DO_ICALL                                         $2      
          3        SEND_VAR                                                 $2
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
    4     6        INIT_FCALL                                               'time'
          7        DO_ICALL                                         $5      
          8        SUB                                              ~6      $5, 86400
          9        ASSIGN                                                   !1, ~6
    5    10        ASSIGN                                                   !1, 1377921600
    6    11        ECHO                                                     '%0A'
    7    12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3AsP'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $9      
         16        ECHO                                                     $9
    9    17        INIT_FCALL                                               'strtotime'
         18        SEND_VAL                                                 '2013-07-29+04%3A00%3A00+UTC'
         19        DO_ICALL                                         $10     
         20        ECHO                                                     $10
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.25 ms | 1395 KiB | 19 Q