mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-11 17:09:41 +01:00
81e53ce0ff
This changset also adds unit tests for Comments and adds a way to test the pretty printer.
31 lines
384 B
Plaintext
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(
|
|
)
|
|
) |