From: p dot varga at lottery24 dot net
Operating system: Linux Suse Server
PHP version: 5.4.7RC1
Package: Variables related
Bug Type: Feature/Change Request
Bug description:Display Format
Description:
------------
Hi!
It would be nice when the format of the numbers could be more human
readable.
Example how it is now:
Allowed memory size of 130000000 bytes exhausted (tried to allocate
133600001
bytes)
Thank you! Peter
Test script:
---------------
<?php
$s = "";
for ( $i = 1 ; $i < 10000 ; $i++ ) {
$s .= str_repeat("x", 100000);
}
?>
Expected result:
----------------
Suggestion:
Allowed memory size of 130.000.000 bytes exhausted (tried to allocate
133.600.001
bytes)
--
Edit bug report at https://bugs.php.net/bug.php?id=63354&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=63354&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=63354&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=63354&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63354&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63354&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63354&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63354&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63354&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63354&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63354&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=63354&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=63354&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63354&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63354&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63354&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63354&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63354&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63354&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63354&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63354&r=mysqlcfg