3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158 ms | 1395 KiB | 17 Q