3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.45 ms | 1394 KiB | 17 Q