PHP 4.0 Bug #6331 Updated: recursive includes
| From: | Bug Database | Date: | Thu, 24 Aug 2000 11:33:23 +0000 |
| Subject: | PHP 4.0 Bug #6331 Updated: recursive includes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30498@lists.php.net to get a copy of this message | ||
ID: 6331
User Update by: max@ruwr.ru
Status: Feedback
Bug Type: Reproduceable crash
Description: recursive includes
I found that it does not happen in case of simple recursion, but It crashes on
this script (I tryed this on two our servers that runs php 4.0.1pl2):
/test: settings.inc
/test/test: test.php3
settings.inc:
<?
include"../settings.inc";
$SELF_PATH = "$HOME_PATH/jforum";
$SELF_URL = "$HOME_URL/jforum";
?>
test.php3:
<? include "../settings.inc"; ?>
Visiting /test/test/test.php3 leads to crash:
[Thu Aug 24 15:33:11 2000] [notice] child pid 1094 exit signal Segmentation fault (11)
Full Bug description available at: http://bugs.php.net/?id=6331