php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2709 having a require() inside a function seems to crash
Submitted: 1999-11-12 11:13 UTC Modified: 2000-07-31 21:59 UTC
From: pfaffman at relax dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Beta 2 OS: linux 2.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pfaffman at relax dot com
New email:
PHP Version: OS:

 

 [1999-11-12 11:13 UTC] pfaffman at relax dot com
<?php
phpinfo();

function sfduc(){
require ("head.inc");
}
 ?>

has no output.  I understand why, but it should print some kind of error message.

Thanks

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-14 02:32 UTC] joey at cvs dot php dot net
Only stops if head.inc is a non-existent file.
I agree, it _SHOULD_ print error message,
but this should be a feature/change request.
 [2000-07-31 21:59 UTC] waldschrott@php.net
This isn?t relevant anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 02:01:31 2024 UTC