Re: Possible feature for current version of PHP or PHP 4.1/5.0.

From: Date: Tue, 10 Jul 2001 04:42:29 +0000
Subject: Re: Possible feature for current version of PHP or PHP 4.1/5.0.
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-59484@lists.php.net to get a copy of this message
At 04:04 PM 7/9/2001 -0500, Brian Moon wrote:
It is not so much BC. It is more like unexpected new behavior. As of now, a bad programmer might have this: /www/site.com/include/file.php /www/site.com/include/config.php /www/site.com/index.php /www/site.com/config.php if index.php includes include/file.php which includes "config.php", the config in the main dir gets included. Now, in the future, if the main config.php is not there, the one in the include file gets included. Now, granted, this may not be the best case, but it would cause some confusion if someone was not well aware of this change. I am still +1, but think it should be at least a 4.1 thing.
Does others also think it should wait for 4.1 or later? If so I'll leave it for now (I'll have more free time :). Andi

« previous php.dev (#59484) next »