RE: [PHP] Re: Profiling with register_tick_function / declare

2008-02-07 Thread McNaught, Scott
php.net Subject: Re: [PHP] Re: Profiling with register_tick_function / declare McNaught, Scott wrote: > Hi Shawn, > > Thanks for the reply. I am using php5+ only, so I'm quite sure that passing > the object by reference like that is done automatically. > > Aren

RE: [PHP] Re: Profiling with register_tick_function / declare

2008-02-07 Thread McNaught, Scott
[PHP] Re: Profiling with register_tick_function / declare McNaught, Scott wrote: > 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

[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 f