Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-31 19:41:42 +0100:
>> instead I would suggest that your better off doing one of 2 things:
>>
>> 1. pass in the array to the function explicitly.
>> 2. use a special function that can be called to retrieve the array
>> from within your example function.
>>
>> bad advice? I'm open to being corrected :-)
> 
> 2. is only marginally better than "global".

if you use a function you can make sure it's output is
consistent and you have a single point of control.

personally I consider that some what more than a marginal gain.

> 

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

Reply via email to