Re: cvs: pear /PECL/namazu Makefile.in README.en README.ja config.m4 php_namazu.c php_namazu.h php_namazu_globals.h /PECL/namazu/sample form.php
search.php search2.php
| From: | Tomas V.V.Cox | Date: | Wed, 09 Jan 2002 12:13:29 +0000 |
| Subject: | Re: cvs: pear /PECL/namazu Makefile.in README.en README.ja config.m4 php_namazu.c php_namazu.h php_namazu_globals.h /PECL/namazu/sample form.php search.php search2.php |
||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-1882@lists.php.net to get a copy of this message | ||
Markus Fischer wrote:
>
> Also, when using php_error() please always expose the context
> of the current function, e.g.
>
> php_error(E_WARNING, "%s(): illegal foobar '%d'",
> get_active_function_name(TSRMLS_C), value);
>
Is there a way of having that also in php space? Something like __FUNC__
or get_active_func() (suitable also for methods).
Tomas V.V.Cox