* Test the PHP Parser with different PHP snippets
*/
public void testPHPParser() {
+ checkHTML("<?php $a = &$b; ?>");
+ checkHTML("<?php ec ho 'coucou'; ?>" +
+ "\n dfgdfgfdfg" +
+ "\n" +
+ "\n" +
+ "<?php" +
+ "\necho ' caca';" +
+ "\n?>" +
+ "dfgdfg" +
+ "\ndsfgdf");
+ checkHTML("<?php echo 'coucou'; ?>" +
+ "\n dfgdfgfdfg" +
+ "\n" +
+ "\n" +
+ "<?php" +
+ "\necho ' caca';" +
+ "\n?>");
checkHTML("<?php" +
"\n//if (!isset($AtreidesLanguage)) $AtreidesLanguage='french';" +
"\n$AtreidesLanguage='french';" +