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
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
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
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
4 matches
Mail list logo