Re: [PHP] Getting the name of a function

2008-02-29 Thread Daniel Brown
On Fri, Feb 29, 2008 at 7:44 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Daniel Brown schreef: > > On Thu, Feb 28, 2008 at 5:06 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > >> huh? what about debug_backtrace() ... contains plenty of info, including > >> function names of everything in the stac

Re: [PHP] Getting the name of a function

2008-02-29 Thread Jochem Maas
Daniel Brown schreef: On Thu, Feb 28, 2008 at 5:06 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: Daniel Brown schreef: On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford > <[EMAIL PROTECTED]> wrote: > [snip!] >> I know that I could pass the name of the function as a parameter to the >> er

Re: [PHP] Getting the name of a function

2008-02-28 Thread Daniel Brown
On Thu, Feb 28, 2008 at 5:06 AM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Daniel Brown schreef: > > On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford > > <[EMAIL PROTECTED]> wrote: > > [snip!] > >> I know that I could pass the name of the function as a parameter to the > >> error() functio

Re: [PHP] Getting the name of a function

2008-02-28 Thread Jochem Maas
Daniel Brown schreef: On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford <[EMAIL PROTECTED]> wrote: For my own amusement, I'm writing a function that will print out detailed error messages for an API that I'm creating for a minor project. One of the pieces of information I'd like to return

Re: [PHP] Getting the name of a function

2008-02-27 Thread Daniel Brown
On Wed, Feb 27, 2008 at 1:56 PM, Richard S. Crawford <[EMAIL PROTECTED]> wrote: > For my own amusement, I'm writing a function that will print out detailed > error messages for an API that I'm creating for a minor project. One of the > pieces of information I'd like to return would be the name o

Re: [PHP] Getting the name of a function

2008-02-27 Thread tedd
At 10:56 AM -0800 2/27/08, Richard S. Crawford wrote: For my own amusement, I'm writing a function that will print out detailed error messages for an API that I'm creating for a minor project. One of the pieces of information I'd like to return would be the name of the function that called the e

[PHP] Getting the name of a function

2008-02-27 Thread Richard S. Crawford
For my own amusement, I'm writing a function that will print out detailed error messages for an API that I'm creating for a minor project. One of the pieces of information I'd like to return would be the name of the function that called the error function. For example: Ideally this script would