How to get +50 year from current year using php date function
Hello,
i have try below code for getting +50 year from current year. but date function allow to add only +20 year.
for($i = date('Y'); $i <= date('Y', strtotime('+50 year')); $i++){
echo $i.',';
}
if i add +20 year then below OutPut show :
2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033,2034,
and if i add +50 year then blank OutPut show :