3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.34 ms | 1395 KiB | 17 Q