constants and case sensitivity
| From: | almir | Date: | Fri, 30 Mar 2001 19:44:08 +0000 |
| Subject: | constants and case sensitivity | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46368@lists.php.net to get a copy of this message | ||
just when I thought , nice I didn't know how does it work i found out that
it is not wroking anyhow if I put
define ("rights", "RIGHTS", X);
define ("Rights", "RIGHTS", X);
echo rights . "->" .defined("rights") ." " .Rights
."->"
.defined("Rights")."<br>";
regardless of X i always get
RIGHTS->1 Rights->0
but if i change places of definiton it changes
define ("rights", "RIGHTS", X);
define ("Rights", "RIGHTS", X);
..
Rights->0 RIGHTS->1
again I am using 3.0.11 on IIS4
thanks