3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('m.d.y', strtotime('last Monday', strtotime('+ 28 day'))) . "\n"; echo date('m.d.y',strtotime('next Monday', strtotime('+ 28 day'))) . "\n"; echo date('m.d.y',strtotime('last Monday')) . "\n"; echo date('m.d.y',strtotime('last Monday', strtotime('last Monday'))) . "\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eK075
function name:  (null)
number of ops:  49
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        CONCAT                                           ~3      $2, '%0A'
         12        ECHO                                                     ~3
    3    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'm.d.y'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 'next+Monday'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAL                                                 '%2B+28+day'
         19        DO_ICALL                                         $4      
         20        SEND_VAR                                                 $4
         21        DO_ICALL                                         $5      
         22        SEND_VAR                                                 $5
         23        DO_ICALL                                         $6      
         24        CONCAT                                           ~7      $6, '%0A'
         25        ECHO                                                     ~7
    4    26        INIT_FCALL                                               'date'
         27        SEND_VAL                                                 'm.d.y'
         28        INIT_FCALL                                               'strtotime'
         29        SEND_VAL                                                 'last+Monday'
         30        DO_ICALL                                         $8      
         31        SEND_VAR                                                 $8
         32        DO_ICALL                                         $9      
         33        CONCAT                                           ~10     $9, '%0A'
         34        ECHO                                                     ~10
    5    35        INIT_FCALL                                               'date'
         36        SEND_VAL                                                 'm.d.y'
         37        INIT_FCALL                                               'strtotime'
         38        SEND_VAL                                                 'last+Monday'
         39        INIT_FCALL                                               'strtotime'
         40        SEND_VAL                                                 'last+Monday'
         41        DO_ICALL                                         $11     
         42        SEND_VAR                                                 $11
         43        DO_ICALL                                         $12     
         44        SEND_VAR                                                 $12
         45        DO_ICALL                                         $13     
         46        CONCAT                                           ~14     $13, '%0A'
         47        ECHO                                                     ~14
    6    48      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.21 ms | 1392 KiB | 17 Q