note 34402 added to language.constants
| From: | zygimantas at rack1 dot php dot net | Date: | Fri, 25 Jul 2003 19:55:58 +0000 |
| Subject: | note 34402 added to language.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52661@lists.php.net to get a copy of this message | ||
I missed info about so called magic constants, but I found that in very old manual:
__FILE__
The name of the script file presently being parsed. If used within a file which has been included or
required, then the name of the included file is given, and not the name of the parent file.
__LINE__
The number of the line within the current script file which is being parsed. If used within a file
which has been included or required, then the position within the included file is given.
----
Manual Page -- http://www.php.net/manual/en/language.constants.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34402
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34402&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34402&report=yes