On Wed, 6 May 2020 at 20:49, Mike Schinkel <m...@newclarity.net> wrote:
>
> I am rather concerned about

Mike,

It's nice that you want to contribute to PHP. But trying to brainstorm
ideas over email is not productive.

Spending your time helping get the manual more up-to-date would be far
more beneficial than throwing out "Hey why don't you try this"
comments.

> a standard library of PHP-written functionality bundled in a PHAR file that 
> would be included with future implementations of PHP and automatically 
> included by PHP.

Anyone who has worked with Java or Go would know that having core
functionality separate from the executable would bring in a whole new
set of error conditions related to classpath or gopath. And
additionally version mismatch problems between the library found, and
the language executable being invoked.

Additionally, while both strings and arrays in PHP work, how they are
implemented leaves something to be desired. For strings, it's the
behaviour around character sets/unicode. For arrays, it's a 'having a
single data structure for all possible needs' problem.

Spending time on a 'standard library' before there have been
improvements to strings and/or arrays is unlikely to produce anything
of great value.

As I said, if you have energy that can be used to make PHP better, I
think helping with the manual would be useful
https://github.com/php/doc-en Or if you can, getting up to speed with
C to work on bugs would also be good https://bugs.php.net/ But just
throwing out ideas is not a productive use of your time and distracts
people from more useful conversations.

cheers
Dan
Ack

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

Reply via email to