Re: [PHP] Profiling with register_tick_function / declare

2008-02-08 Thread Jochem Maas
Daniel Brown schreef: On Feb 7, 2008 7:10 PM, Jochem Maas [EMAIL PROTECTED] wrote: McNaught, Scott schreef: . Get profile results for novices without having to mess around installing php binaries such as APD / zend debugger etc I suppose that includes xdebug? If xdebug works as

[PHP] Profiling with register_tick_function / declare

2008-02-07 Thread McNaught, Scott
Hi there, Is it possible to make the declare(ticks=1) statement apply to *all* functions executed in a php script, regardless of scope? I wish to write a profiler script to basically dump all the function call times through the execution of a script. So far, I can only get it to work for

Re: [PHP] Profiling with register_tick_function / declare

2008-02-07 Thread Jochem Maas
McNaught, Scott schreef: Hi there, Is it possible to make the declare(ticks=1) statement apply to *all* functions executed in a php script, regardless of scope? is the declare() pragma not a file scope wotsit? i.e. you'd have to do declare(ticks=1); at the top of each file. ... .

Re: [PHP] Profiling with register_tick_function / declare

2008-02-07 Thread Daniel Brown
On Feb 7, 2008 7:10 PM, Jochem Maas [EMAIL PROTECTED] wrote: McNaught, Scott schreef: . Get profile results for novices without having to mess around installing php binaries such as APD / zend debugger etc I suppose that includes xdebug? If xdebug works as a local binary (which