#23332 [Fbk->Bgs]: include() doesn't raise any warning when passed invalid filename

From: Date: Tue, 29 Apr 2003 15:22:27 +0000
Subject: #23332 [Fbk->Bgs]: include() doesn't raise any warning when passed invalid filename
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38736@lists.php.net to get a copy of this message
ID: 23332 Updated by: sniper@php.net Reported By: miroslav dot sulc at startnet dot cz -Status: Feedback +Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 4.3.2RC1 New Comment: You're doing something wrong as there definately is an error if the file is not found..check your error reporting related php.ini directives. Not bug. Previous Comments: ------------------------------------------------------------------------ [2003-04-24 10:31:40] edink@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2003-04-24 10:00:40] miroslav dot sulc at startnet dot cz include() doesn't raise any warning when I pass invalid file name. E.g. if I use: include("blah"); there is no warning send to HTML page but the execution of the script stops when a function from the "included" file is called, again without any warning. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23332&edit=1

« previous php.bugs (#38736) next »