PHP prepends backtick to all print and echo output
<p>This is a server-wide issue, not confined to this particular script, but I'll give code regardless.</p>

<pre><code>include_once('LIB/LIB_data.php');

$id = $_GET['id'];
$columns = Data::getTableColumns('table');

if(!in_array($id, $columns))
  {
    exit("Illegal value");
  }
else
  {
    $dbh = new PDO('/* connects successfully */');
    $sth = $dbh-&gt;prepare("SELECT DISTINCT $id FROM table");
    $sth-&gt;execute();
    $result = $sth-&gt;fetchAll(PDO::FETCH_ASSOC);

    $fields = array();
    foreach($result as $set)
      {
        $val = $set[$id];
        array_push($fields, "{\"optionValue\": \"$val\", \"optionDisplay\": \"$val\"}");
      }
    $return_val = '[' . implode(",", $fields) . ']';
    print($return_val);
  }
</code></pre>

<p>Should return something like this:</p>

<pre><code>[{"optionValue": "f", "optionDisplay": "f"},{"optionValue": "m", "optionDisplay": "m"}]
</code></pre>

<p>Instead, it's this:</p>

<pre><code>`[{"optionValue": "f", "optionDisplay": "f"},{"optionValue": "m", "optionDisplay": "m"}]
</code></pre>

<p>It works the same with echo. There's a backtick before absolutely everything that I output with either one. I don't use backticks anywhere. I'm on PHP 5.2.10, if that helps. This is a weird error I haven't been able to find mention of anywhere else, so any help would be greatly appreciated.</p>
