3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lastmonday = strtotime("last week monday", time()); print date("d.m.Y @ H:i:s", $lastmonday);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3ZqnU
function name:  (null)
number of ops:  13
compiled vars:  !0 = $lastmonday
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'last+week+monday'
          2        INIT_FCALL                                               'time'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    5     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'd.m.Y+%40+H%3Ai%3As'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.21 ms | 1394 KiB | 19 Q