ID: 21499 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Won\'t fix Bug Type: Unknown/Other Function Operating System: all PHP Version: 4.3.0 New Comment:
Since include is not a function but rather a language construct this is unlikely to be ever fixed. The error as is, imo is reasonably descriptive as it tells what action had failed and why. Previous Comments: ------------------------------------------------------------------------ [2003-01-07 14:28:43] [EMAIL PROTECTED] This isn't a feature request Nicos, this is a bug. It refers/links to a non-existent function/page in the error. ------------------------------------------------------------------------ [2003-01-07 14:15:48] [EMAIL PROTECTED] Reclassifing. ------------------------------------------------------------------------ [2003-01-07 14:02:01] [EMAIL PROTECTED] <?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