Re: [PHP] nested, referenced foreach & implicit current array pointer issues
- From: neuhauser@xxxxxxxxxx (Roman Neuhauser)
- Date: Wed, 31 Jan 2007 19:53:03 +0000
# jochem@xxxxxxxxxxxxx / 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".
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
.
- References:
- nested, referenced foreach & implicit current array pointer issues
- From: speedy
- Re: [PHP] nested, referenced foreach & implicit current array pointer issues
- From: "Martin Alterisio"
- Re[2]: [PHP] nested, referenced foreach & implicit current array pointer issues
- From: speedy
- Re: Re[2]: [PHP] nested, referenced foreach & implicit current array pointer issues
- From: "Martin Alterisio"
- Re[4]: [PHP] nested, referenced foreach & implicit current array pointer issues
- From: speedy
- Re: [PHP] nested, referenced foreach & implicit current array pointer issues
- From: Jochem Maas
- nested, referenced foreach & implicit current array pointer issues
- Prev by Date: [SOLVED] [PHP] return bounced email to specific email address
- Next by Date: Re[2]: [PHP] nested, referenced foreach & implicit current array pointer issues
- Previous by thread: Re: [PHP] nested, referenced foreach & implicit current array pointer issues
- Next by thread: Re[2]: [PHP] nested, referenced foreach & implicit current array pointer issues
- Index(es):
Relevant Pages
|