| [news.eclipse.tools.pdt] Re: PHP inside of Javascript in a .php file |
if (parentValue)
{
<?php echo $function;?>
}
What is the value of $function?
gives me these errors: Multiple annotations found at this line: - Syntax error on token "<", invalid Expression - Syntax error on token "?", invalid Expression - Syntax error on token ">", FullPostfixExpression expected after this token - Syntax error on token "echo", : expected - syntax error, unexpected 'EOF'
It seems like the Javascript parser has trouble with the PHP inside the javascript, even though the javascript is in a PHP file.
Sounds like there are parser usecases not yet implemented.
-- Nick Boldt :: http://wiki.eclipse.org/User:Nickb