define constants within functions?
| From: | Justin French | Date: | Tue, 10 Aug 2004 14:14:20 +0000 |
| Subject: | define constants within functions? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-193269@lists.php.net to get a copy of this message | ||
If I define a constant within a function, it appears that the constant is only defined within the namespace of the function. Fair enough.
Can I globalise these definitions?
---
Justin French
http://indent.com.au