ID:               15438
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: FreeBSD
 PHP Version:      4.1.1
 New Comment:

RTM! You can't include_once check for succes on include/include_once.
include(_once) is not a function.


Previous Comments:
------------------------------------------------------------------------

[2002-02-07 17:21:40] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=15438&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to