3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157 ms | 1395 KiB | 15 Q