On 06/02/2010 10:03 PM, John LeSueur wrote:
On Wed, Jun 2, 2010 at 1:37 PM, Michael Wallner<m...@php.net>  wrote:


Now the script:
<?php
ini_set("memory_limit", "2G");

function mib($b) {
    return $b ? number_format($b/1024/1204, 1, ".", "'") : "?";


typo: shouldn't this be $b/1024/1024?

doh! :) You're right, but it doesn't really change anything in the comparison.

Regards,
Mike


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to