Re: cvs: php4 / README.TESTING
| From: | Adam Maccabee Trachtenberg | Date: | Thu, 24 Oct 2002 00:43:55 +0000 |
| Subject: | Re: cvs: php4 / README.TESTING | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15257@lists.php.net to get a copy of this message | ||
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