From 43c47790b897c8f9ecaeb35111a8575ab6f7a0bb Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 2 May 2005 12:42:02 +0000 Subject: [PATCH] Path of __FILE__ (bug #32902) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185639 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/constants.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/language/constants.xml b/language/constants.xml index f4e88b165b..0e2748b83a 100644 --- a/language/constants.xml +++ b/language/constants.xml @@ -1,5 +1,5 @@ - + Constants @@ -190,6 +190,9 @@ echo Constant; // outputs "Constant" and issues a notice. 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, __FILE__ always contains an + absolute path whereas in older versions it contained relative path + under some circumstances.