Re: Local define?
| From: | Marek Kilimajer | Date: | Sun, 22 Feb 2004 21:37:48 +0000 |
| Subject: | Re: Local define? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178500@lists.php.net to get a copy of this message | ||
1. Don't hijack threads. Always start with new message if you want to ask a question, do not reply to an existing message.
2. Do some research before posting, you already wrote almost the whole example, so run it an see for yourself.
Robin 'Sparky' Kopetzky wrote:
Greetings!! If you define a constant within a function, is it local or global? Example: function foo() { define('BAR', 0); } Robin Kopetzky Black Mesa Computers/Internet Services, LLC