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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 11:45 PM -0400 6/6/06, Robert Cummings wrote:
>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.

Well... now that you mentioned it.... :-)

Good discussion all.

Thanks for everyone's input, learned a lot -- and hopefully didn't annoy too many.

tedd
-- 
------------------------------------------------------------------------------------
http://sperling.com  http://ancientstones.com  http://earthstones.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux