RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.
| From: | Sascha Schumann | Date: | Sun, 08 Jul 2001 23:36:06 +0000 |
| Subject: | RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-59239@lists.php.net to get a copy of this message | ||
> I guess what I meant was [Relative] in the sense that it is forced to be
> relative to the CURRENT file, vs being relative to the "main" script. You
> can call it a bug -- but I would disagree - I feel that the purpose of
> include is to pull utility code into a "main" script.
It is a bug, if you cannot write portable library/utility
code without resorting to such hacks as you described in your
first email.
Libraries like PHPLIB use this hack already, so it should
be fairly safe to fix this behaviour (i.e. change the
meaning of ".").
- Sascha Experience IRCG
http://schumann.cx/ http://schumann.cx/ircg