On Thu, 24 Oct 2002, Marcus Börger wrote:

> Shouldn't we allow "-" in %i, too?
> I would like the following:
> 
> %i = [+\-]?[0-9]+
> %d = [0-9]+
> %f = [+\-]?\.?[0-9]+\.?[0-9]*

Isn't there a spec for printf() style options? These may be good
settings, but I think it's much better to follow the standard.

IMHO, the range of options for printf() is hard enough to remember
without us changing how it works beneath the feet of developers. I
know that don't want to encumber PHP to the design choices of other
languages, but then we should introduce other options (letters)
instead of redefining existing ones.

-adam


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to