3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime('last monday', strtotime('tomorrow', strtotime('2014-10-06')))); echo "\r\n"; echo date('Y-m-d', strtotime('last monday', strtotime('tomorrow', strtotime('2014-09-30'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vLJ3o
function name:  (null)
number of ops:  34
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'last+monday'
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 'tomorrow'
          6        INIT_FCALL                                               'strtotime'
          7        SEND_VAL                                                 '2014-10-06'
          8        DO_ICALL                                         $0      
          9        SEND_VAR                                                 $0
         10        DO_ICALL                                         $1      
         11        SEND_VAR                                                 $1
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                         $3      
         15        ECHO                                                     $3
    4    16        ECHO                                                     '%0D%0A'
    5    17        INIT_FCALL                                               'date'
         18        SEND_VAL                                                 'Y-m-d'
         19        INIT_FCALL                                               'strtotime'
         20        SEND_VAL                                                 'last+monday'
         21        INIT_FCALL                                               'strtotime'
         22        SEND_VAL                                                 'tomorrow'
         23        INIT_FCALL                                               'strtotime'
         24        SEND_VAL                                                 '2014-09-30'
         25        DO_ICALL                                         $4      
         26        SEND_VAR                                                 $4
         27        DO_ICALL                                         $5      
         28        SEND_VAR                                                 $5
         29        DO_ICALL                                         $6      
         30        SEND_VAR                                                 $6
         31        DO_ICALL                                         $7      
         32        ECHO                                                     $7
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.29 ms | 1396 KiB | 17 Q