PHP Predefined Constants
PHP has some predefined constants.
There are eight predefined constants, These constants are case-insensitive.
|Get the current line number of the file.
|Get the full path and filename of the file with symlinks resolved. If It used inside an include, the name of the included file is returned as text.
|Get the directory of the file. If It used inside an include, the directory of the included file is returned as text.
|Get the function name.
|Get the class name. The class name includes the namespace.
|Get the trait name. The trait name includes the namespace.
|Get the class method name.
|Get the name of the current namespace.