note 42927 added to function.func-get-arg
| From: | anders at ingemann dot fakestuff dot de | Date: | Thu, 03 Jun 2004 22:16:39 +0000 |
| Subject: | note 42927 added to function.func-get-arg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70664@lists.php.net to get a copy of this message | ||
I actually think that there is need for such "do absolutely everything" functions. I use
them mostly as tools for rapid prototyping.
And there is a method with which you may be able to pass several strings to a function: ereg();
Another use for such functions is to create little code snippets for other people out there. They
won't have to edit the function any longer if they do not use a parameter. They just don't
name it when calling the function.
This results in allrounder functions that are very robust in their use.Normally you just have a
little code snippet (e.g. ip-blocking snippets). Through this type of programming you have whole
functions.
----
Manual Page -- http://www.php.net/manual/en/function.func-get-arg.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42927
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42927&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42927&report=yes
Search -- http://master.php.net/manage/user-notes.php