ID: 22594 Updated by: [EMAIL PROTECTED] 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