Guilherme Blanco - 2007-07-05 22:12:16 -
In reply to message 3 from elf.cheng
Hi Elf,
A small patch solves you issue.
You may experience some issues depending on PHP version you're currently using.
At AOP_CodeParser, line 19:
$this->code = (trim(substr($sCode, 0, 2)) == "<?") ? $sCode : "<?php " . $sCode . " ?>";
Switch to:
$this->code = $sCode;
I remember that some PHP versions has a restriction with token_get_all, that it must start with the PHP open tag. Please check it this patch solves your issue and report me.