mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Path of __FILE__ (bug #32902)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185639 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
40dca4563b
commit
43c47790b8
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.39 $ -->
|
||||
<!-- $Revision: 1.40 $ -->
|
||||
<chapter id="language.constants">
|
||||
<title>Constants</title>
|
||||
|
||||
|
@ -190,6 +190,9 @@ echo Constant; // outputs "Constant" and issues a notice.
|
|||
<entry>
|
||||
The full path and filename of the file. If used inside an include,
|
||||
the name of the included file is returned.
|
||||
Since PHP 4.0.2, <constant>__FILE__</constant> always contains an
|
||||
absolute path whereas in older versions it contained relative path
|
||||
under some circumstances.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
|
Loading…
Reference in a new issue