|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-02-26 07:39 UTC] krakjoe@php.net
-Status: Assigned
+Status: Suspended
[2015-02-26 07:39 UTC] krakjoe@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
Description: ------------ APD 1.0.1 - pprofp The padding values for the output are incorrect. printf()'s padding uses the entire value, not just the digits before the decimal. pprofp is currently using only the number preceding the decimal as the padding value, which yields difficult to read output. Reproduce code: --------------- Corrected output code: printf("%5.01f %5.02f %5.02f %5.02f %5.02f %5.02f %5.02f %4d %7.04f %7.04f %12d %s\n", $pcnt, $rsecs, $c_rsecs, $usecs, $c_usecs, $ssecs, $c_ssecs, $ncalls, $percall, $cpercall, $mem_usage, $name);