Re: [PHP] Passing arrays as arguments to a method

2001-02-08 Thread Chris Lee
Ive seen posts like this before ( 'how do I pass arrays as arguments to functions?' ) this is quite simple, nothing at all has to be done. $val) echo "$pos : $val \n"; } } $arr[] = 'chris '; $arr[] = 'lee '; $arr[] = 'works for '; $arr[] = 'mediawaveonline.com '; $test = new test($

[PHP] Passing arrays as arguments to a method

2001-02-08 Thread rodrigo
Is it possible to pass arrays as arguments to class methods? If so, how? What is the proper syntax and things to look out for. Thanks in advanced. -- Ivan R. Quintero E.* (507)228-3477 Aptdo 1263 * (507)228-9105 Balboa, Ancon * 640-0370 Rep