ID:               26973
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alex at cartel dot md
-Status:           Open
+Status:           Verified
-Bug Type:         Output Control
+Bug Type:         Scripting Engine problem
 Operating System: Linux
-PHP Version:      4.3.4
+PHP Version:      4CVS, 5CVS
 New Comment:

With C, it works as expected -> gotta be bug? :)



Previous Comments:
------------------------------------------------------------------------

[2004-01-20 06:08:54] alex at cartel dot md

Description:
------------
printf function pads incorrectly with zeros and sign.


Reproduce code:
---------------
<?
printf("%+05d", 200);
?>


Expected result:
----------------
+0200

Actual result:
--------------
0+200


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26973&edit=1

Reply via email to