-
Notifications
You must be signed in to change notification settings - Fork 8
/
basic.php
60 lines (51 loc) · 1.57 KB
/
basic.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* The full path and filename of the file with symlinks resolved. If used inside an include,
* the name of the included file is returned.
* @link http://php.net/manual/en/language.constants.php
*/
define ('__FILE__', null);
/**
* The current line number of the file.
* @link http://php.net/manual/en/language.constants.php
*/
define ('__LINE__', null);
/**
* The class name. The class name includes the namespace
* it was declared in (e.g. Foo\Bar).
* Note that as of PHP 5.4 __CLASS__ works also in traits. When used
* in a trait method, __CLASS__ is the name of the class the trait
* is used in.
* @link http://php.net/manual/en/language.constants.php
*/
define ('__CLASS__', null);
/**
* The function name.
* @link http://php.net/manual/en/language.constants.php
*/
define ('__FUNCTION__', null);
/**
* The class method name.
* @link http://php.net/manual/en/language.constants.php
*/
define ('__METHOD__', null);
/**
* The trait name. The trait name includes the namespace
* it was declared in (e.g. Foo\Bar).
* @link http://php.net/manual/en/language.constants.php
*/
define ('__TRAIT__', null);
/**
* The directory of the file. If used inside an include,
* the directory of the included file is returned. This is equivalent
* to dirname(__FILE__). This directory name
* does not have a trailing slash unless it is the root directory.
* @link http://php.net/manual/en/language.constants.php
*/
define ('__DIR__', null);
/**
* The name of the current namespace.
* @link http://php.net/manual/en/language.constants.php
*/
define ('__NAMESPACE__', null);
?>