Req #63354 [Opn->Wfx]: Display Format
Edit report at https://bugs.php.net/bug.php?id=63354&edit=1
ID: 63354
Updated by: aharvey@php.net
Reported by: p dot varga at lottery24 dot net
Summary: Display Format
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Variables related
Operating System: Linux Suse Server
PHP Version: 5.4.7RC1
Block user comment: N
Private report: N
New Comment:
Integer to string conversion in PHP is fundamental behaviour â we couldn't change this
without a massive backward compatibility break (not to mention the additional problem of deciding
which of the at least four schemes I know of for digit grouping would be used).
Plus, number_format() already exists for the common cases.
Marking Won't Fix.
Previous Comments:
------------------------------------------------------------------------
[2012-10-25 05:54:05] p dot varga at lottery24 dot net
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 this bug report at https://bugs.php.net/bug.php?id=63354&edit=1
Thread (3 messages)