On 1/13/12 5:10 AM, Azat Khuzhin wrote:
Hi all, I'v add support of "*" modifier for sprintf, it exist in sprintf C implementation (http://www.cplusplus.com/reference/clibrary/cstdio/printf/) Usage: sprintf("%.*f", 2, 2) // output "2.00" sprintf("%.2f", 2) // output "2.00" My patch attached
For tracking, can you log a bug and attach the patch (and any relevant tests)? Chris -- Email: christopher.jo...@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php