Re: cvs: php-src /ext/date php_date.c
| From: | Derick Rethans | Date: | Fri, 01 Jul 2005 07:17:42 +0000 |
| Subject: | Re: cvs: php-src /ext/date php_date.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-32617@lists.php.net to get a copy of this message | ||
On Fri, 1 Jul 2005, Marcus Boerger wrote:
> why is this usign snprintf when the value is a string?
> (e.g.: snprintf(buffer, 32, "%s...) why not use stropy or similar?
Consistency over all the date modifiers. Makes the code much easier to
read.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org