Hi,
today I stumbled upon this bug, but I actually don't know should I call it bug or is it right behavior?
So for example lets get diff between 2013-10-25 and 2014-10-25:
var_dump((new DateTime("2013-03-25"))->diff(new DateTime("2014-03-25")))
We'll get one full year.
Then if we try to get diff between 2012-03-25 and 2013-03-25 we'll also get one year.
But if we have 2012-03-01 and 2013-03-01 then we get 11 months and 30 days (365 in int->days member)...
Should we consider this as a bug or not?