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: | Markus Fischer | Date: | Wed, 09 Jan 2002 13:50:53 +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 3 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-1883@lists.php.net to get a copy of this message | ||
On Wed, Jan 09, 2002 at 01:13:29PM +0100, Tomas V.V.Cox wrote :
> 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).
I wish, but unfortunately not that I know of.
--
Please always Cc to me when replying to me on the lists.