Skip to content

Instantly share code, notes, and snippets.

@ockham
Created December 3, 2014 16:50
Show Gist options
  • Save ockham/09845e12d48d0d7bc258 to your computer and use it in GitHub Desktop.
Save ockham/09845e12d48d0d7bc258 to your computer and use it in GitHub Desktop.
An example PhpParser\Node
[2] => PhpParser\Node\Expr\FuncCall Object
(
[subNodes:protected] => Array
(
[name] => PhpParser\Node\Name Object
(
[subNodes:protected] => Array
(
[parts] => Array
(
[0] => _e
)
)
[attributes:protected] => Array
(
[startLine] => 10
[endLine] => 10
)
)
[args] => Array
(
[0] => PhpParser\Node\Arg Object
(
[subNodes:protected] => Array
(
[value] => PhpParser\Node\Scalar\String Object
(
[subNodes:protected] => Array
(
[value] => Copyright
)
[attributes:protected] => Array
(
[startLine] => 10
[endLine] => 10
)
)
[byRef] =>
[unpack] =>
)
[attributes:protected] => Array
(
[startLine] => 10
[endLine] => 10
)
)
[1] => PhpParser\Node\Arg Object
(
[subNodes:protected] => Array
(
[value] => PhpParser\Node\Scalar\String Object
(
[subNodes:protected] => Array
(
[value] => smartbiz
)
[attributes:protected] => Array
(
[startLine] => 10
[endLine] => 10
)
)
[byRef] =>
[unpack] =>
)
[attributes:protected] => Array
(
[startLine] => 10
[endLine] => 10
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment