#22594 [Opn->Bgs]: sprintf functionality altered from previous version. ?bug
| From: | helly@php.net | Date: | Fri, 07 Mar 2003 21:03:31 +0000 |
| Subject: | #22594 [Opn->Bgs]: sprintf functionality altered from previous version. ?bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35077@lists.php.net to get a copy of this message | ||
ID: 22594
Updated by: helly@php.net
Reported By: wreetz at greenapple dot com
-Status: Open
+Status: Bogus
Bug Type: Strings related
Operating System: BSDI 4.2
PHP Version: 4.3.1
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
The new behavior is the correct one :-))
Previous Comments:
------------------------------------------------------------------------
[2003-03-07 14:57:30] wreetz at greenapple dot com
sprintf in 4.2.1 & 4.3.1 gives different results.
<?PHP
$s='truncate';
echo sprintf(" %8.5s",$s);
?>
Results:
4.2.1: trunc
4.3.1: truncate
I Don't know if this is a new bug, an intended change, was a bug in
4.2.1 that's now fixed, or ?
Thanks,
Wendy
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22594&edit=1