3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Sofia'); // echo date('d.m.Y H:i:s') . ' ' ; //echo strtotime('next Monday - 1 week') . ' '; $date = new DateTime("next monday"); echo $date->format('d.m.Y H:i:s'); //echo date('d.m.Y H:i:s', strtotime("next monday - 1 week")) ; //echo ' '; //echo strtotime('1 Monday ago', strtotime('08.12.2013'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oOE4k
function name:  (null)
number of ops:  12
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_default_timezone_set'
          1        SEND_VAL                                                 'Europe%2FSofia'
          2        DO_ICALL                                                 
    5     3        NEW                                              $2      'DateTime'
          4        SEND_VAL_EX                                              'next+monday'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !0, $2
    6     7        INIT_METHOD_CALL                                         !0, 'format'
          8        SEND_VAL_EX                                              'd.m.Y+H%3Ai%3As'
          9        DO_FCALL                                      0  $5      
         10        ECHO                                                     $5
    9    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.9 ms | 1394 KiB | 15 Q