3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d H:i:s', strtotime('this Monday midnight', strtotime('2014-07-14T17:00:00'))); echo date('Y-m-d H:i:s', strtotime('this Monday midnight', strtotime('2014-07-15T17:00:00'))); echo date('Y-m-d H:i:s', strtotime('next Monday midnight', strtotime('2014-07-14T17:00:00'))); echo date('Y-m-d H:i:s', strtotime('next Monday midnight', strtotime('2014-07-15T17:00:00')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cYC41
function name:  (null)
number of ops:  49
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'this+Monday+midnight'
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '2014-07-14T17%3A00%3A00'
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                         $2      
         11        ECHO                                                     $2
    4    12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         14        INIT_FCALL                                               'strtotime'
         15        SEND_VAL                                                 'this+Monday+midnight'
         16        INIT_FCALL                                               'strtotime'
         17        SEND_VAL                                                 '2014-07-15T17%3A00%3A00'
         18        DO_ICALL                                         $3      
         19        SEND_VAR                                                 $3
         20        DO_ICALL                                         $4      
         21        SEND_VAR                                                 $4
         22        DO_ICALL                                         $5      
         23        ECHO                                                     $5
    6    24        INIT_FCALL                                               'date'
         25        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         26        INIT_FCALL                                               'strtotime'
         27        SEND_VAL                                                 'next+Monday+midnight'
         28        INIT_FCALL                                               'strtotime'
         29        SEND_VAL                                                 '2014-07-14T17%3A00%3A00'
         30        DO_ICALL                                         $6      
         31        SEND_VAR                                                 $6
         32        DO_ICALL                                         $7      
         33        SEND_VAR                                                 $7
         34        DO_ICALL                                         $8      
         35        ECHO                                                     $8
    7    36        INIT_FCALL                                               'date'
         37        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         38        INIT_FCALL                                               'strtotime'
         39        SEND_VAL                                                 'next+Monday+midnight'
         40        INIT_FCALL                                               'strtotime'
         41        SEND_VAL                                                 '2014-07-15T17%3A00%3A00'
         42        DO_ICALL                                         $9      
         43        SEND_VAR                                                 $9
         44        DO_ICALL                                         $10     
         45        SEND_VAR                                                 $10
         46        DO_ICALL                                         $11     
         47        ECHO                                                     $11
         48      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.37 ms | 1400 KiB | 17 Q