cvs: php-src /ext/standard/tests/strings bug26973.phpt
| From: | Jani Taskinen | Date: | Wed, 21 Jan 2004 03:49:16 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/strings bug26973.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-25785@lists.php.net to get a copy of this message | ||
sniper Tue Jan 20 22:49:16 2004 EDT
Added files:
/php-src/ext/standard/tests/strings bug26973.phpt
Log:
test case for bug #26973
http://cvs.php.net/co.php/php-src/ext/standard/tests/strings/bug26973.phpt?r=1.1&p=1
Index: php-src/ext/standard/tests/strings/bug26973.phpt
+++ php-src/ext/standard/tests/strings/bug26973.phpt
--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