Date: 07/01/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5313 Updated: define() hangs for DIE"
- Previous message: Stanislav Malyshev: "Re: [PHP-DEV] I can confirm Bug 5308"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: a.yeo <email protected>
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.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5313 Updated: define() hangs for DIE"
- Previous message: Stanislav Malyshev: "Re: [PHP-DEV] I can confirm Bug 5308"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

