mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-27 12:24:39 +01:00
Removes unneeded code from JSON encoding example (#372)
This commit is contained in:
parent
b5935a4aff
commit
291bb27f6a
@ -104,7 +104,6 @@ printLine('Hello World!!!');
|
||||
CODE;
|
||||
|
||||
$parser = (new PhpParser\ParserFactory)->create(PhpParser\ParserFactory::PREFER_PHP7);
|
||||
$nodeDumper = new PhpParser\NodeDumper;
|
||||
|
||||
try {
|
||||
$stmts = $parser->parse($code);
|
||||
@ -327,4 +326,4 @@ Produces:
|
||||
</node:Expr_FuncCall>
|
||||
</scalar:array>
|
||||
</AST>
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user