I'm having problems with encoding some php scripts. The problem occurs whenever I have string concatenation. Could somebody tell me what I'm doing wrong?
// This code fails when I try to encode it
<?php
$id = 3;
$q = "SELECT something FROM table WHERE id = ".$id;
?>
Output:
ERROR: Can't compile file "C:\\Program Files\\xampp\\htdocs\\hh/enctest.php"
// This code encodes without problems
<?php
$q = "SELECT * FROM table WHERE id = 3";
?>
Output:
Encoding: "C:\\Program Files\\xampp\\htdocs\\hh/enc.php" -> "C:\\Program Files\\xampp\\htdocs\\hhenc/enctest.php"
Versions:
XAMPP: 1.5.5
eAccelerator: 0.9.5
PHP: 5.2.0