Hi!

>> My number one issue with this PR is that it's all PHP code.  There's nothing
> in here that couldn't be done as a composer installable library
> 
> It's a valid point, but not really a good argument against having it - the
> same could after all be said about a lot of PHP functions.

Many of those were introduced when we didn't have good ecosystem for
libraries, and whatever is baked into PHP binary is all you got to work
with. Not the case anymore. Many others were introduced because it was
hard to do it in PHP (no access to some internals, or slow, or required
things that code break between versions). Not the case here either.

Also, there's a difference between core having 20 functions and adding
21st that is doing something new, and core having 200 functions and
adding 201st that does exactly like one of the existing ones but
slightly different (slightly enough so you'd have to consult the manual
now to see why you used each of them in each context).

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to