note 30068 deleted from function.func-get-arg by didou
| From: | didou@php.net | Date: | Thu, 29 May 2003 22:47:47 +0000 |
| Subject: | note 30068 deleted from function.func-get-arg by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49367@lists.php.net to get a copy of this message | ||
Note Submitter: chris@dontwantspam.com
----
Don't make the mistake that I did in assuming that get_func_arg(1) can be used like it's
an array. If you try to check if it is set like empty(get_func_arg(1)) or is_set(get_func_arg(1))
will return a parse error. Using if (get_func_arg(1)) { ... } without a second argument will return
a warning (this may or may not display, depending on your error settings).