Forum Moderators: coopster
Windows IIS PHP 4.7...
and one running on
Linux Apache PHP 4.2...
ON WINDOWS:
$someArray[1][1] = "ABC";
echo $someArray[1][1];
RETURNS:
A
ON LINUX:
$someArray[1][1] = "ABC";
echo $someArray[1][1];
RETURNS:
ABC
I then realized that if i declare $someArray[1] = array(), it then works on the Windows version. This is ok except i have a whole bunch of code that works on the Linux enviornment and not the Windows, is there a way to change a setting in the PHP configuration to not force me to have to declare the variables as arrays before attemping to use them?
thanks,
Ryan