- var_dump: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$a = date('d/m/Y', strtotime("+1 day", strtotime(date('d/m/Y', strtotime('01-02-2017')))));
$b = date('d/m/Y', strtotime("+1 day", strtotime(date('d/m/Y', strtotime('02-02-2017')))));
var_dump($a,$b);
if($a < $b){
echo "maior";
}else{
echo "else";
}