<?php
$dias = 7;
$dataInicial = "18/10/2017";
//obtendo os componentes da sua data.
//usando mktime para obter o timestamp desejado e strftime para mostrar o timestamp em formato desejado
$time = mktime(0, 0, 0, $mes, $dia + $dias, $ano);
$dataFinal = strftime('%d/%m/%Y', $time);
echo "\n"."\n";
echo "data inicial ".$dataInicial;
echo "\n"."\n";
echo "+ " .$dias." dias ";
echo "\n"."\n";
echo "data final ".$dataFinal. "\n";
PD9waHAKCgkkZGlhcyAgICAgICAgPSA3OwoJJGRhdGFJbmljaWFsID0gIjE4LzEwLzIwMTciOwoJLy9vYnRlbmRvIG9zIGNvbXBvbmVudGVzIGRhIHN1YSBkYXRhLgoJbGlzdCgkZGlhLCAkbWVzLCAkYW5vKSA9IGV4cGxvZGUoJy8nLCAkZGF0YUluaWNpYWwpOwoJCgkvL3VzYW5kbyBta3RpbWUgcGFyYSBvYnRlciBvIHRpbWVzdGFtcCBkZXNlamFkbyBlIHN0cmZ0aW1lIHBhcmEgbW9zdHJhciBvIHRpbWVzdGFtcCBlbSBmb3JtYXRvIGRlc2VqYWRvCgkgJHRpbWUgPSBta3RpbWUoMCwgMCwgMCwgJG1lcywgJGRpYSArICRkaWFzLCAkYW5vKTsKCQoJJGRhdGFGaW5hbCA9IHN0cmZ0aW1lKCclZC8lbS8lWScsICR0aW1lKTsKCQoJCgllY2hvICJcbiIuIlxuIjsKCWVjaG8gImRhdGEgaW5pY2lhbCAiLiRkYXRhSW5pY2lhbDsKCWVjaG8gIlxuIi4iXG4iOwoJZWNobyAiKyAiIC4kZGlhcy4iIGRpYXMgICI7CgllY2hvICJcbiIuIlxuIjsKCWVjaG8gImRhdGEgZmluYWwgIi4kZGF0YUZpbmFsLiAiXG4iOw==