PJ>>$b->a++; gives tmp = a; tmp = tmp+1; b->a = tmp; PJ>> PJ>>In my example (a date object, day being 31), at this I do not know PJ>>if one is assigning 32 to the property or if it's the result of PJ>>incrementation (or decrementation from 1 to 0).
That's why one should use $date->NextDay() and $date->PreviousDay() and neither ++, nor --, nor manipulating properties directly :) -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php