in reply to Re: Re: Type casting
in thread Type casting
Well, there are some notes above that may make this irrelevant,
but you are doing the assignement after the $year+=0;.
When trying to force evaluation as a number, you should do
the +=0 trick after, not before the assignment.