3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeStamp = strtotime(time()); $ayer = time() - 1 * 24 * 60 * 60; echo PHP_EOL; echo date(DATE_ATOM, $ayer);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/37H9Z
function name:  (null)
number of ops:  17
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
    6    10        ECHO                                                     '%0A'
    7    11        INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3AsP'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $8      
         15        ECHO                                                     $8
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.12 ms | 1386 KiB | 19 Q