Have you looked at smart_strs? That's the way to go, if you want to get rid of nasty size calculations/checks and ugly memcpy calls.
Basically spprintf was designed to be an easy replacement for all the other sprintf derivates. But perhaps i should have used the smart strings inside it. Maybe we wouldnt have the floating point problem with more than 512 digits?
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php