On 9 August 2016 at 19:38, David Rodrigues <david.pro...@gmail.com> wrote: > Sara Golemon wrote: >> Anything written in PHP could be written in C, the question you need >> to answer isn't "How?", it's "Why?". > > Sure. > > In general, I just thinking about how it can be useful to ...
There are endless number of things that could be useful if included in core PHP. But almost all of them can also be done in userland PHP. Code that is included in core needs to be maintained by a small number of people who have the C skills and will-power to do the maintenance. Code that is written in PHP is both easier to maintain (as PHP is a more powerful language than C in most regards), and has a far larger number of people who can do the maintenance. So the question is "Why write it in C, when you can write it in PHP?" cheers Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php