#21499 [Opn]: include 'bogus' gives unfriendly error
| From: | nicos@php.net | Date: | Tue, 07 Jan 2003 20:15:59 +0000 |
| Subject: | #21499 [Opn]: include 'bogus' gives unfriendly error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29369@lists.php.net to get a copy of this message | ||
ID: 21499
Updated by: nicos@php.net
Reported By: philip@cornado.com
Status: Open
-Bug Type: Unknown/Other Function
+Bug Type: Feature/Change Request
Operating System: all
PHP Version: 4.3.0
New Comment:
Reclassifing.
Previous Comments:
------------------------------------------------------------------------
[2003-01-07 14:02:01] philip@cornado.com
<?php include 'foo' ?>
Warning: main(foo) [function.main]:
failed to create stream: No such file or directory in...
Warning: main() [function.main]: Failed opening 'foo' for inclusion
(include_path='.') in...
Basically, this error could be a little nicer and in the very least
link to function.include and not a non-existent function.main.
This is the case with all the include/require constructs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21499&edit=1