I have a server running on SunOS 5.1, and I'm having an issue with the source of a php file displaying. The source starts displaying after => when setting up an array. After the first => it displays the rest of the file. Why would this be happening?
Example source: index.php
<?php
$tmpVar = 'just testing';
$tmpArray = array(
'test1' => 'rawr1',
'test2' => 'rawr2',
'test3' => 'rawr3'
);
echo "Testing<br/>";
?>
This would output:
'rawr1', 'test2' => 'rawr2', 'test3' => 'rawr3'); echo "Testing<br/>"; ?>