PHP/Language Basics/Pre Defined Constant
__FILE__: The name of the script file being parsed
<source lang="html4strict">
<?
echo "
This file is ".__FILE__;
?>
</source>
__LINE__: The number of the line in the script being parsed
<source lang="html4strict">
<?
echo "
This is line number ".__LINE__;
?>
</source>