3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.71 ms | 1388 KiB | 17 Q