[thelist] functions in PHP and arguments (was: PHP string tip ...)

Charles F. Johnson charles at littlegreenfootballs.com
Fri Aug 31 20:48:50 CDT 2001


Ray Hill <ray at opengrid.com> typed:

> Variables were all passed in as a comma delimited string, as such:

Hmm. Yes, you can do it that way, but it's a lot of extra work, when PHP
already has functions built in to handle variable arguments. Check out
func_num_args() and the other function handling functions in the PHP manual;
much simpler than parsing a delimited string, and probably faster too.

charles johnson
lgf web design
http://littlegreenfootballs.com





More information about the thelist mailing list