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 Shawn McKenzie
ilto:[EMAIL PROTECTED] > Sent: Friday, February 08, 2008 5:43 AM > To: php-general@lists.php.net > Subject: [PHP] Re: Profiling with register_tick_function / declare > > McNaught, Scott wrote: >> Hi there, >> >> >> >> Is it possible to make the decla

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

2008-02-07 Thread Shawn McKenzie
ilto:[EMAIL PROTECTED] > Sent: Friday, February 08, 2008 5:43 AM > To: php-general@lists.php.net > Subject: [PHP] Re: Profiling with register_tick_function / declare > > McNaught, Scott wrote: >> Hi there, >> >> >> >> Is it possible to make the decla

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

2008-02-07 Thread McNaught, Scott
it appeared to make no difference. The problem is to do with the scope that the "declare" directive affects. Cheers anyway, Scott -Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED] Sent: Friday, February 08, 2008 5:43 AM To: php-general@lists.php.net Subject:

[PHP] Re: Profiling with register_tick_function / declare

2008-02-07 Thread Shawn McKenzie
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 script to basically dump all the function call > times through the execution of a scr