Research & Documentation 02 Php Net
__LINE__
__LINE__ is a magic constant that brings back the line number that the code is entered on. See the line number below as an example:
11__FILE__
__FILE__ is a magic constant that brings back the full path name of the current file. See the path name for this page below as an example:
/var/www/vhosts/abaeb.bitweb1.nwtc.edu/httpdocs/php/research-documentation/02-php-net.php__DIR__
__DIR__ is a magic constant that brings back the directory of the current file which is basically the full path minus the actual name of the file. See the directory for this page below as an example:
/var/www/vhosts/abaeb.bitweb1.nwtc.edu/httpdocs/php/research-documentation__FUNCTION__
__FUNCTION__ is a magic constant that brings back the function name of a function. Please see the function name below as an example:
myExampleFunction