I wrote this extension a while back, but I never released it since
I didn't follow coding style and it was my first forage into extension
coding for PHP. It should be what your looking for though for the
most part... the function of usefulness is: get_function_call_stack()
which will return an
It would be really useful for writing functions/Classes, if
i were able to determine the __FILE__ and __LINE__ of the
script, that is calling my function, without the need to send
__FILE__ and __LINE__ as parameter to my function.
E.g. __CFILE__ for calling script and __CLINE__ for line in the
Hello Michael,
I'm working (80% done) on an extension for this. It should be finished in
a few days. It doesn't feature the __C*__ things yet, but I can add a
function for that too.
I'll keep you posted,
Derick
On Wed, 24 Apr 2002, Michael Virnstein wrote:
It would be really useful for
wow...your fast! :)
thanx..that would be really great!
Michael
[EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello Michael,
I'm working (80% done) on an extension for this. It should be finished in
a few days. It doesn't feature the __C*__ things yet,
an additional thought:
if __CFILE__ and __CLINE__ are used outside of
a function/method, both should be NULL. and trigger_error
should only overwrite its __FILE__ and __LINE__ settings, if
they are NOT NULL. And if one of the __FILE__ , __LINE parameters
of trigger_error is NOT NULL, both have to
Addressed to: [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from [EMAIL PROTECTED] Wed, 24 Apr 2002 21:06:41 +0200 (CEST)
Hello Michael,
I'm working (80% done) on an extension for this. It should be finished in
a few days. It doesn't feature the __C*__ things