mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-02 17:28:27 +01:00
47 lines
771 B
Plaintext
47 lines
771 B
Plaintext
Magic constants
|
|
-----
|
|
<?php
|
|
|
|
__CLASS__;
|
|
__DIR__;
|
|
__FILE__;
|
|
__FUNCTION__;
|
|
__LINE__;
|
|
__METHOD__;
|
|
__NAMESPACE__;
|
|
__TRAIT__;
|
|
-----
|
|
array(
|
|
0: Stmt_Expression(
|
|
expr: Scalar_MagicConst_Class(
|
|
)
|
|
)
|
|
1: Stmt_Expression(
|
|
expr: Scalar_MagicConst_Dir(
|
|
)
|
|
)
|
|
2: Stmt_Expression(
|
|
expr: Scalar_MagicConst_File(
|
|
)
|
|
)
|
|
3: Stmt_Expression(
|
|
expr: Scalar_MagicConst_Function(
|
|
)
|
|
)
|
|
4: Stmt_Expression(
|
|
expr: Scalar_MagicConst_Line(
|
|
)
|
|
)
|
|
5: Stmt_Expression(
|
|
expr: Scalar_MagicConst_Method(
|
|
)
|
|
)
|
|
6: Stmt_Expression(
|
|
expr: Scalar_MagicConst_Namespace(
|
|
)
|
|
)
|
|
7: Stmt_Expression(
|
|
expr: Scalar_MagicConst_Trait(
|
|
)
|
|
)
|
|
) |