hi people,

I was just wondering if the caller() function is being worked on?  I
have this application that's about 6000 lines of php code, and aprox,
1/4 done.  I've been starting to put in my methods stuff like

if(get_class($foo) != 'foo'))
        trigger_error('$foo is not of type foo',E_USER_ERROR);

and it would be _awesome_ for the trigger_ function to be able to say
who called it.  Or do a stack trace or something.

thanks,
Tom

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to