You are here: Re: Variable name length « PHP Programming Language « IT news, forums, messages
Re: Variable name length

Posted by larry on 10/19/05 22:18

Didn't find the MySQL one at all; and I didn't see a number in the PHP
reference which I did see, so I missed that too. But "any number of
characters" is intriguing. I did a test and created a test string
variable called:
$supercalafragilisticexpyaladocious_is_a_variable_name_that_is_quite_atrocious
And added text to it (it worked) then created:
$supercalafragilisticexpyaladocious_is_a_variable_name_that_is_quite_atrocious_2
and echoed both back, both were unique..

Impressive, but I think probably some sort of abbreviation for such
long identifiers would be necessary for sanity's sake.

That was a sufficient test but I am still tempted to write up a 32k
variable name to see if it will still stand true. ;-)

Thanks for pointing out the obvious that I missed!

Larry

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация