Variable names and SESSION names?

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


Hi Gang:

It was reported to me that PHP has problems occasionally with variable names being the same as SESSION variable names — is that true?

For example, could the following present a problem:

$color = “red”;
$_SESSION[‘color’] = $color;

I had that happen well over a decade ago, but nothing recent. How about you guys?



Tedd Sperling

[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