On Thu, 8 Jan 2004, Wez Furlong wrote:
>As Stas mentioned, I'm not sure that this is a good idea, unless >we split some of these things out of ext/standard and into their >own extensions; ext/std_regex, ext/std_string (for levenstein, soundex, >metaphone etc.), ext/std_hash (crc32, sha1) and have those extensions >compiled in by default. > >IIRC, Jani was hoping for something like this a while back.
I was thinking about it for increasing the maintainability of ext/standard, not to reduce the size of the binary.
Again, I am talking about having them compiled in by default. I wouldn't want to change that. However, for people who host their own application on a dedicated server, I want them to have the ability to use a stripped down version of PHP.
And although code might be changed, the RINIT's of all sorts of functions to lead to copy-on-writes in all sorts of situations.
I see no reason not to implement this because it doesn't change the default build one bit.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php