PHP 4.0 Bug #2709: having a require() inside a function seems to crash
| From: | pfaffman at relax dot com | Date: | Fri, 12 Nov 1999 16:13:26 +0000 |
| Subject: | PHP 4.0 Bug #2709: having a require() inside a function seems to crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12369@lists.php.net to get a copy of this message | ||
From: pfaffman@relax.com
Operating system: linux 2.2
PHP version: 4.0 Beta 2
PHP Bug Type: Reproduceable crash
Bug description: having a require() inside a function seems to crash
<?php
phpinfo();
function sfduc(){
require ("head.inc");
}
?>
has no output. I understand why, but it should print some kind of error message.
Thanks