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

2008-02-07 Thread Shawn McKenzie
Subject: [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 script to basically dump all

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

2008-02-07 Thread McNaught, Scott
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

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

2008-02-07 Thread Shawn McKenzie
Subject: [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 script to basically dump all

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

2008-02-07 Thread McNaught, Scott
: 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't all objects are automatically passed by reference