2011-11-26 17:10:18 +01:00
|
|
|
Magic constants
|
|
|
|
-----
|
|
|
|
<?php
|
2011-11-27 11:20:35 +01:00
|
|
|
|
2011-11-26 17:10:18 +01:00
|
|
|
__CLASS__;
|
|
|
|
__DIR__;
|
|
|
|
__FILE__;
|
|
|
|
__FUNCTION__;
|
|
|
|
__LINE__;
|
|
|
|
__METHOD__;
|
|
|
|
__NAMESPACE__;
|
2011-12-18 13:04:27 +01:00
|
|
|
__TRAIT__;
|
2011-11-26 17:10:18 +01:00
|
|
|
-----
|
|
|
|
array(
|
2017-01-19 22:25:22 +01:00
|
|
|
0: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_Class(
|
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
1: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_Dir(
|
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
2: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_File(
|
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
3: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_Function(
|
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
4: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_Line(
|
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
5: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_Method(
|
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
6: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_Namespace(
|
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|
2017-01-19 22:25:22 +01:00
|
|
|
7: Stmt_Expression(
|
|
|
|
expr: Scalar_MagicConst_Trait(
|
|
|
|
)
|
2011-12-18 13:04:27 +01:00
|
|
|
)
|
2011-11-26 17:10:18 +01:00
|
|
|
)
|