Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
[ -initialize ]\n
[ -initialize ]\n
Ultimo aggiornamento 2012-03-13
Frequenza di utilizzo: 1
Qualità:
do not initialize.
do not initialize.
Ultimo aggiornamento 2018-02-13
Frequenza di utilizzo: 1
Qualità:
pre ?php / / a function that records the time when it is called function profile ($dump = false) {static $profile; / / return the times stored in profile, then erase it if ($dump) {$temp = $profile; unset ($profile); return ($temp);} $profile[] = microtime ();} / / set up a tick handler register_tick_function("profile"); / / initialize the function before the declare block profile (); / / run a block of code, throw a tick every 2nd statement declare (ticks=2) {for ($x = 1; $x 50; ++$x) {echo similar_text (md5($x), md5($x*$x)), "br";}} / / display the data stored in the profiler print_r (profile (true));? / pre
?php / / a function that records the time when it is called function profile ($dump = false) {static $profile; / / return the times stored in profile, then erase it if ($dump) {$temp = $profile; unset ($profile); return ($temp);} $profile[] = microtime ();} / / set up a tick handler register_tick_function("profile"); / / initialize the function before the declare block profile (); / / run a block of code, throw a tick every 2nd statement declare (ticks=2) {for ($x = 1; $x 50; ++$x) {echo similar_text (md5($x), md5($x*$x)), "br / ;";}} / / display the data stored in the profiler print_r (profile (true));?
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 2
Qualità:
Attenzione: contiene formattazione HTML nascosta