* and then Nick Wilson declared....
> <?php
> $myconfig=TRUE;
> 
> class myclass {
> 
>     if($myconfig) {
>         var $something=1;
>     }
> }
> 
> I know that that is not the way it should be done though. What is the
> best way to do this?

On a hunch, i think i've found the answer:
http://www.php.net/manual/en/language.constants.php

Right?

-- 
Nick W

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to