Re: libc and random functions
| From: | Johannes Schlüter | Date: | Thu, 19 Jul 2007 17:50:41 +0000 |
| Subject: | Re: libc and random functions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31108@lists.php.net to get a copy of this message | ||
Hi David,
On Thu, 2007-07-19 at 13:09 -0400, David Coallier wrote:
> After a bit of discussion with Jani, I came to realize that keeping
> the wrapper macro for php_rand, php_srand is plain useless. Yes some
> pecl extensions do rely on them (and for those who do, I also provided
> a patch [3]). We both realized that there's not many extensions
> relying on php_rand and php_srand thus removed it completely..
I don't think that removing APIs during a point release is a good thing.
Even when you grepped through PECL it doesn't mean that not more
extensions are using these functions. I'm fine with removing it from
HEAD, if there's an replacement but not for a bugfix release.
johannes