php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13348 require() on a non-existent file makes PHP give up w/o an error
Submitted: 2001-09-17 10:29 UTC Modified: 2001-10-09 10:31 UTC
From: alester at flr dot follett dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.6 OS: Solaris 7
Private report: No CVE-ID: None
 [2001-09-17 10:29 UTC] alester at flr dot follett dot com
If you require() or require_once() on a file that's not found anywhere in the library search path, PHP gives no output and no error message.  

This is so common in our shop that whenever we see no output at all from a script, we just assume we've goofed up a require().  When I stumbled across the behavior in Bug #13347, I figured I messed up an require().

It may also be a problem with include() and include_once(), but we don't use those anywhere anyway.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-18 02:13 UTC] derick@php.net
To what is your errorlevel set in php.ini?

Derick
 [2001-10-09 10:31 UTC] sander@php.net
No feedback. Probably not a bug in PHP. Closing.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 22:01:30 2025 UTC