Re: Passing the Array as Parameter to either the function or object/class???
| From: | Greg Donald | Date: | Thu, 21 Oct 2004 14:19:22 +0000 |
| Subject: | Re: Passing the Array as Parameter to either the function or object/class??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199991@lists.php.net to get a copy of this message | ||
On Thu, 21 Oct 2004 09:57:07 -0400, Scott Fletcher <scott@abcoa.com> wrote:
> I wanted to know is can it be done by passing the array as a parameter
> to the function?
Yes. By reference and by value.
> I also wanted to know is is it possible to pass around the array in the
> object-orientated feature like object/class stuffs?
Yes. By reference and by value.
Some people have issues with theoretical posts like this one. Showing
an honest attempt with some broken code usually gets help the
quickest.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/