Bug #15438: include_once fails when comparing output to a value
| From: | michael at gamepoint dot net | Date: | Thu, 07 Feb 2002 22:21:40 +0000 |
| Subject: | Bug #15438: include_once fails when comparing output to a value | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-79592@lists.php.net to get a copy of this message | ||
From: michael@gamepoint.net
Operating system: FreeBSD
PHP version: 4.1.1
PHP Bug Type: Filesystem function related
Bug description: include_once fails when comparing output to a value
When trying to check if include_once succeeded i came up the following bug
(i believe):
if( include_once("test1.php") == false ) {
print "Failed to include file";
}
Warning: Failed opening '' for inclusion
(include_path='.:/usr/local/lib/php') in /usr/home/michael/www/bug.php on
line 6
Removing '== false' removes the problem.
My configuration is:
FreeBSD 4.5
Apache 1.3.22
PHP 4.1.1
Configure options: './configure' '--with-mysql' '--with-apxs'
--
Edit bug report at http://bugs.php.net/?id=15438&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15438&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15438&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15438&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15438&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15438&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15438&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15438&r=notenoughinfo