AW: [PHP] Re: How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
an array as individual parameter for a function I suppose that argc & argv variables should be supported in future releases of php. At this time only cgi php supports this feature. Am i wrong? "Christian Bartels" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
Mh...this works great! Thanks a lot! --- Gruß CB -Ursprüngliche Nachricht- Von: Tom Rogers [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2003 11:49 An: Christian Bartels Cc: [EMAIL PROTECTED] Betreff: Re: [PHP] How to use the fields of an array as individual parameter for a

AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
Mh...i need this for a class loader. Could you post your class loader? (i do not want to invent the wheel again) Thanks! --- Gruß CB -Ursprüngliche Nachricht- Von: Tom Rogers [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2003 11:49 An: Christian Bartels Cc: [EMAIL PROTECTED

AW: [PHP] Re: How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
about that? "Christian Bartels" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Yes, i thought about this already. But it is more work for me to do, 'cause i would have to rewrite the constructors of several classes. Anyways i am interested, whether this

AW: [PHP] Re: How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
ss it within the function itself. Seems more logical to me. "Christian Bartels" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello! I'm new here on the list. I hope you can help me! :) I have a function foo1 which has a parameter $params. In the function i want

AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
array for ($i=0;$i<$numinarray;$i++) { $element = $array[$i]; echo "$element is in the array."; } there's also a for each loop, but the syntax escapes me >From: "Christian Bartels" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sub

[PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
Hello! I'm new here on the list. I hope you can help me! :) I have a function foo1 which has a parameter $params. In the function i want to pass $params to another function foo2. if $params is an array the elements should be passed to foo2 as individual parameters. Is this possible? How do i do t