Re: cvs: php4 /ext/standard basic_functions.c
| From: | Andrei Zmievski | Date: | Mon, 14 May 2001 19:24:30 +0000 |
| Subject: | Re: cvs: php4 /ext/standard basic_functions.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-5741@lists.php.net to get a copy of this message | ||
On Mon, 14 May 2001, Sterling Hughes wrote:
> + zend_is_callable(*fcall, 1, &name);
> + php_error(E_WARNING, "Unable to call %s()", name);
> + efree(name);
;-) You might even want to move the call to zend_is_callable() up to the
very top, after you get the parameters, so that you check whether the
passed function name is a valid construct at all. See usage of
zend_is_callable() in array.c.
-Andrei
* A feature is a bug with seniority. *