Re: When is "z" != "z" ?

From: Date: Wed, 07 Jun 2006 03:45:45 +0000
Subject: Re: When is "z" != "z" ?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-237527@lists.php.net to get a copy of this message
On Tue, 2006-06-06 at 22:53, Rasmus Lerdorf wrote: > Richard Lynch wrote: > > Or we try to do something a bit more creative which always runs the risk > of surprising people. In this case "a2"++ becomes "a3" and > "c9"++ > becomes "d0". If we have a character that doesn't infer any sort of > logical sequence, like "&" then the ++ does nothing. So "&"++ > stays at > "&". However "&3" becomes "&4" and > "&b"++ becomes "&c". "99z"++ > becomes "100a" and Funky stuff. > "1z9z9z"++ becomes "2a0a0a" and yes, of course "z"++ Good thing Tedd didn't come across the above one by accident *lol*. Cheers, 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. | `------------------------------------------------------------'

« previous php.general (#237527) next »