Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

[PHP] constants and case sensitivity From: almir (a.kazazic <email protected>)
Date: 03/30/01

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>