3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.03 ms | 1395 KiB | 19 Q