Re: php_error_docref (was: Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /main main.c php.h)

From: Date: Thu, 08 Aug 2002 12:33:05 +0000
Subject: Re: php_error_docref (was: Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /main main.c php.h)
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-86647@lists.php.net to get a copy of this message
At 12:28 08.08.2002, Wez Furlong wrote:
I think that is too much magic :-) Either the person writing the C code knows which part of the manual to display, or they use the "regular" error function. I don't see what TSRM has to do with this either - the macros are designed to work independently of the actual build aren't they? Maybe I'm being dense this morning!
No to the last sentence. I suggest using TSRM to convert functionname to docref if docref parameter is NULL. That's what i spoke of.
--Wez. On 08/08/02, "Marcus Börger" <marcus.boerger@t-online.de> wrote: I suggest we allow docref parameter being NULL and convert the called finctions name into the documents name. Problem 1 is how do we know inside the handler that we are called from setup phase? I mean it would be nice to direct to the sapi page. But this would require every sapi to have its own page (Hartmut). Problem 2 we will have to either use TSRM build allways or have to surrender the feature in non TSRM builds. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.dev (#86647) next »