Re: Re: A Review Request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 May 2011 at 04:03, Alex Nikitin <niksoft@xxxxxxxxx> wrote: 

> but here is a brief example:
>
> (!DEBUG) || error_log("Fetch Data: ".memory_get_usage()/1048576);
>
> reads and writes a lot better and faster then:
>
> if(DEBUG) {
>    $memory = memory_get_usage()/1048576;
>    error_log("Fetch Data: ".$memory);
> }

Not to me it doesn't. I find such usage incomprehensible.

tim


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux