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.
Actually, just as __FILE__, __LINE__, __CLASS__ etc. dirname(__FILE__)
can be a parser constant. And if somebody produces a good name and a
patch for it, I see no reason to reject it. Does anybody?
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
(408)253-8829 MSN: [EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php