3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime('this monday', strtotime('2014-10-05'))); echo "\r\n"; echo date('Y-m-d', strtotime('this monday', strtotime('2014-09-30')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pgbAE
function name:  (null)
number of ops:  26
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                                                 'this+monday'
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '2014-10-05'
          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        ECHO                                                     '%0D%0A'
    5    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'Y-m-d'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 'this+monday'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAL                                                 '2014-09-30'
         19        DO_ICALL                                         $3      
         20        SEND_VAR                                                 $3
         21        DO_ICALL                                         $4      
         22        SEND_VAR                                                 $4
         23        DO_ICALL                                         $5      
         24        ECHO                                                     $5
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.25 ms | 1395 KiB | 17 Q