php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63366 Number format in error-log-file
Submitted: 2012-10-26 06:54 UTC Modified: 2012-10-26 07:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: p dot varga at lottery24 dot net Assigned:
Status: Duplicate Package: Output Control
PHP Version: 5.4.7RC1 OS: Linux Suse Server
Private report: No CVE-ID: None
 [2012-10-26 06:54 UTC] p dot varga at lottery24 dot net
Description:
------------
The displayed numbers in the PHP error log files are not easy to read:
When displaying this error message it takes seconds until the correct number is 
read:
Allowed memory size of 130000000 bytes exhausted (tried to allocate 133600001 
bytes)

Test script:
---------------
<?php
$s = "";

for ( $i = 1 ; $i < 10000 ; $i++ ) {
        $s .= str_repeat("x", 100000);
}
?>

Expected result:
----------------
Allowed memory size of 130.000.000 bytes exhausted (tried to allocate 133.600.001 
bytes)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-26 07:23 UTC] laruence@php.net
dup to #63354
 [2012-10-26 07:43 UTC] laruence@php.net
-Status: Open +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC