Re: [patch] expose PHP version details as constants
| From: | Jan Schneider | Date: | Sun, 10 Feb 2008 10:15:14 +0000 |
| Subject: | Re: [patch] expose PHP version details as constants | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35345@lists.php.net to get a copy of this message | ||
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. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/