Bug #5313: define() hangs for DIE
| From: | a dot yeo at f5 dot com | Date: | Sat, 01 Jul 2000 16:34:02 +0000 |
| Subject: | Bug #5313: define() hangs for DIE | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23054@lists.php.net to get a copy of this message | ||
From: a.yeo@f5.com
Operating system: Redhat Linux 6.1
PHP version: 3.0.16
PHP Bug Type: Reproduceable crash
Bug description: define() hangs for DIE
<html>
<body>
<?
if (define ("DIE", 99)) {
echo ("--DIE-- is not internally defined");
echo ("<br>So, I defined it as 99 and it now becomes :");
echo DIE;
} else {
echo ("--DIE-- is already defined internally as: ");
echo DIE;
}
</html>
</body>
---------------------------
Output turns out to be
--DIE-- is not internally defined
So, I defined it as 99 and it now becomes :1
---------------------------
If I change the constant name to something else other than
DIE, it will be OK.