Re: [PHP-DEV] [RFC] PHP Namespace Policy

2020-04-27 Thread Mike Schinkel
> On Apr 27, 2020, at 6:05 PM, Rowan Tommins wrote: > > So you'd be happy with PHP\str_contains and \str_replace next to each other > indefinitely? Absolutely. The benefits of having a PHP namespace would outweigh the lack of elegance above. OTOH I'm not sure why we could not have *both* \

Re: [PHP-DEV] Re: [RFC] PHP Namespace Policy

2020-04-27 Thread Max Semenik
On Mon, Apr 27, 2020 at 11:26 AM Rowan Tommins wrote: > To me, the answer to that is quite simple: we have several hundred > functions, and several dozen classes and interfaces, which are not in such > a namespace; and we have millions of lines of code out in the world using > them. So either we

Re: [PHP-DEV] [RFC] PHP Namespace Policy

2020-04-27 Thread Rowan Tommins
On 27/04/2020 22:40, Mike Schinkel wrote: How about a simply policy: Newer things go in, older ones stay out? Check the docs to see which is which if you are unsure, or just let your IDE auto-complete for you. So you'd be happy with PHP\str_contains and \str_replace next to each other inde

Re: [PHP-DEV] [RFC] Unbundle ext/xmlrpc

2020-04-27 Thread Matteo Beccati
On 26/04/2020 16:56, Sebastian Bergmann wrote: > Am 26.04.2020 um 15:28 schrieb Christoph M. Becker: >> I propose to unbundle ext/xmlrpc, and written a respective RFC: > > Makes sense to me. Make sense to me too. Also speaking as maintainer of an OSS project that still has an XML-RPC API, which

Re: [PHP-DEV] [RFC] PHP Namespace Policy

2020-04-27 Thread Mike Schinkel
> On Apr 27, 2020, at 4:25 AM, Rowan Tommins wrote: > > To me, the answer to that is quite simple: we have several hundred > functions, and several dozen classes and interfaces, which are not in such > a namespace; and we have millions of lines of code out in the world using > them. So ... we nee

Re: [PHP-DEV] [RFC][VOTE] Change default PDO error mode

2020-04-27 Thread Christoph M. Becker
On 27.04.2020 at 15:31, AllenJB wrote: > Voting has now closed and the RFC has been accepted at 49:2 votes in favor. > > The PR is available at: https://github.com/php/php-src/pull/5388 > > If those with servers available could help with checking tests for PDO > database specific extensions (or co

Re: [PHP-DEV] [VOTE] match expression

2020-04-27 Thread Andrea Faulds
Hi, I share Dan's reasons for voting against. I don't think things should go to a vote before the dust has settled. Regards, Andrea Faulds -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC][VOTE] Change default PDO error mode

2020-04-27 Thread AllenJB
Hi all, Voting has now closed and the RFC has been accepted at 49:2 votes in favor. The PR is available at: https://github.com/php/php-src/pull/5388 If those with servers available could help with checking tests for PDO database specific extensions (or confirming that they don't need updates)

Re: [PHP-DEV] Re: [RFC] PHP Namespace Policy

2020-04-27 Thread Rowan Tommins
On Sun, 26 Apr 2020 at 20:55, Mark Randall wrote: > I would be interested in hearing arguments why such a strategy adopted > with great success by many of the most popular and well-developed > languages, is inappropriate for PHP. > To me, the answer to that is quite simple: we have several hund