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


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



Reply via email to