test case for bug #26973

This commit is contained in:
foobar 2004-01-21 03:49:15 +00:00
parent 21d5052f70
commit d7a54202d8

View File

@ -0,0 +1,20 @@
--TEST--
Bug #26973 (*printf() '+' modifier problem)
--FILE--
<?php
printf("%+05d\n", 200);
printf("%+05d\n", -200);
printf("%+05f\n", 200);
printf("%+05f\n", -200);
printf("%+05u\n", 200);
printf("%+05u\n", -200);
?>
--EXPECT--
+0200
-0200
+0200.000000
-0200.000000
00200
4294967096