3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date_now_start = date('Y-m-d H:i:s'); echo date('Y-m-d', strtotime('yesterday', strtotime($date_now_start))); echo date('Y-m-d 23:59:59 ', strtotime("yesterday"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IvJ63
function name:  (null)
number of ops:  25
compiled vars:  !0 = $date_now_start
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y-m-d'
          6        INIT_FCALL                                               'strtotime'
          7        SEND_VAL                                                 'yesterday'
          8        INIT_FCALL                                               'strtotime'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                         $5      
         15        ECHO                                                     $5
    4    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'Y-m-d+23%3A59%3A59+'
         18        INIT_FCALL                                               'strtotime'
         19        SEND_VAL                                                 'yesterday'
         20        DO_ICALL                                         $6      
         21        SEND_VAR                                                 $6
         22        DO_ICALL                                         $7      
         23        ECHO                                                     $7
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.7 ms | 1395 KiB | 17 Q