final Reader reader = new StringReader(programStr);
Program program = ASTParser.newParser(reader, PHPVersion.PHP5,
ProjectOptions.useShortTags((IProject) null)).createAST(
new NullProgressMonitor());
program.initCommentMapper(document, new PhpAstLexer(reader));
final Statement node = program.statements().get(0);
final int extendedLength = program.getExtendedLength(node);
assert extendedLength > node.getLength();