Date: 12/31/99
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #3075 Updated: inconsistency in checking include_path"
- Previous message: Dave VanHorn: "[PHP-DEV] Re: [PHP3] Re: HAPPY NEW YEAR!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: djm <email protected>
Operating system: all
PHP version: 4.0 Beta 3
PHP Bug Type: Misbehaving function
Bug description: inconsistency in checking include_path
I'm trying to track down exactly what document_root does, and under what circumstances. I found the following inconsistency:
If PHP3_URL_FOPEN is defined, then php3_fopen_wrapper runs php3_fopen_url_wrapper, which does:
if (options & USE_PATH) {
fp = php3_fopen_with_path((char *) path, mode, PG(include_path), NULL);
Otherwise, it runs
if (options & USE_PATH && PG(include_path) != NULL) {
return php3_fopen_with_path(path, mode, PG(include_path), NULL);
It seems to me that those two if statements should be identical, so the semantics of include_path and document_root don't depend on whether PHP3_URL_FOPEN is defined.
I don't know which one is what was intended, however.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #3075 Updated: inconsistency in checking include_path"
- Previous message: Dave VanHorn: "[PHP-DEV] Re: [PHP3] Re: HAPPY NEW YEAR!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

