I do most of my development remotely, but my internet is currently only able to connect for a few hours a day, so installed a local apache/php server (xampp). However, PHP is refusing to terminate strings: a quote indicates the start of a string, but a closing quote is interpreted as part of the string. That is, I can say [tt]echo “
test
”;[/tt], and PHP will assume that everything after the opening quote should be echo’d, including the end quote and closing PHP bracket. For instance, a file with only this:<?
echo "<p>test</p>";
?>
will output the following:
test"; ?>
It displays the opening/closing
brackets, but then fails to interpret the second quote as a terminator, and uses the rest of the file as the string.
I’m assuming I’ve got a wonky setting somewhere, but I can’t seem to find it. Any suggestions?