Re: [patch] expose PHP version details as constants

From: Date: Sun, 10 Feb 2008 10:53:46 +0000
Subject: Re: [patch] expose PHP version details as constants
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-35346@lists.php.net to get a copy of this message
Jan Schneider wrote:
Zitat von Jingcheng Zhang <diogin@gmail.com>:
Hello, Is there any chance that dirname(__FILE__) being exposed as a constant, i.e. __DIRNAME__?
No. Constants are per request, dirname(__FILE__) is obviously different per file.
That's not entirely true, isn't it? Think __FILE__ is per file, then we've __FUNCTION__, __LINE__, etc. sincerely, - Markus

« previous php.internals (#35346) next »