Re: Variable name length



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

.



Relevant Pages

  • Re: Which book?
    ... the reference is one of the best i have ever seen! ... Im C++ programmer learning PHP and MySQL. ... already have a primer and want something more gutsy) ... Btw. dont recommend PHP 6 and MySQL 5 for Dynamic Web Sites by Larry ...
    (alt.php)
  • Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
    ... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ...
    (comp.lang.php)
  • Re: I am totally stumped..with this on..LOAD_FILE Mysql+PHP= FSCK!!
    ... What I am trying to do is to upload files and stuff them in a mysql database. ... I copied the temporary file to somewhere else, and then handed it to MySQL..THAT WORKED.. ... Is there a way to force a close on the file..maybe that's the problem Mysql is opening a file that is not flushed to disk maybe? ... I gew the feeling its maintaining its own picture of file objects, and doesn't actually flush to the disk unless you do a copy or close php.. ...
    (comp.lang.php)
  • Re: com_dotnet
    ... And if MySQL isn't installed, the DLL won't load and phpinfowill show MySQL support isn't enabled. ... The MySQL interface is NOT compiled into PHP on the distributed Windows binaries - or you'd never be able to run PHP unless you had MySQL installed. ... *SOME* extensions are protocols, some are functional resources, and some are just type libraries. ... If you're going to compile the extension into PHP itself, the libraries must be available at compile time, and when you run PHP, or PHP won't load. ...
    (comp.lang.php)
  • Re Re: PHP 5.2.4 <= various mysql functions safemode & open_basedir bypass
    ... > various mysql functions safemode & open_basedir bypass ... PHP is currently very used because it's easy to use. ... Apache has directory restrictions. ... # if the mysql user has perms, ...
    (Bugtraq)