1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-11 17:09:41 +01:00
PHP-Parser/test/code/parser/scalar/magicConst.test
nikic 81e53ce0ff Insert comments when pretty printing
This changset also adds unit tests for Comments and adds a way to test the
pretty printer.
2012-05-11 16:18:14 +02:00

31 lines
384 B
Plaintext

Magic constants
-----
<?php
__CLASS__;
__DIR__;
__FILE__;
__FUNCTION__;
__LINE__;
__METHOD__;
__NAMESPACE__;
__TRAIT__;
-----
array(
0: Scalar_ClassConst(
)
1: Scalar_DirConst(
)
2: Scalar_FileConst(
)
3: Scalar_FuncConst(
)
4: Scalar_LineConst(
)
5: Scalar_MethodConst(
)
6: Scalar_NSConst(
)
7: Scalar_TraitConst(
)
)