On Wed, 2004-03-17 at 12:19, Jason Wong wrote: > On Thursday 18 March 2004 01:07, Richard Davey wrote: > > > ++ is a _post_ increment. This means it'll returns $correct first and > > then increment it by one. There is a section in the PHP manual on this > > (search for "Incrementing/Decrementing Operators". > > Whether it's pre or post depends on whether it is placed before the variable > in question or after. > > $doo++ !== ++$doo
But ++$doo === $doo++ *heheh* Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php