The following chunk of code:
<?php
$whatever['test'] = 'abcdefg';
print "TEST: '" . $whatever['test'] . "'<br>\n";
?>
on my PowerBook running Mac OS X 10.1.2 yeilds the following output:
TEST: 'a'
Uploading the code to my RedHat Linux production server produces the correct output of:
TEST: 'abcdefg'
This is the case for both the version of PHP that is pre-installed in Mac OS X 10.1.2 and my hand compiled version of PHP 4.1.1.
Am I missing some simple setting or flag, or is there a major bug in PHP on Mac OS X?
Thanks in advance,