Possible bug?
| From: | Arthur Yeo | Date: | Fri, 30 Jun 2000 00:56:15 +0000 |
| Subject: | Possible bug? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-764@lists.php.net to get a copy of this message | ||
Does anyone know if DIE is an internally defined
constant in PHP version is: 3.0.16
The code below produces the following output:
++++++++++++++++++++++++++++++++++++
--DIE-- is not internally defined
So, I defined it as 99 and it now becomes :1
++++++++++++++++++++++++++++++++
-------------------------------------------------------------------
<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>
-------------------------------------------------------------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Arthur Yeo