3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( date('D d/m/Y', strtotime('2015-06-09 next tue')), date('D d/m/Y', strtotime('2015-06-09 next tue -1 day')) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9cApu
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'D+d%2Fm%2FY'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2015-06-09+next+tue'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
    5     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'D+d%2Fm%2FY'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '2015-06-09+next+tue+-1+day'
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
    3    17        DO_ICALL                                                 
    6    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.66 ms | 999 KiB | 16 Q