Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109838 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 75417 invoked from network); 25 Apr 2020 00:42:11 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Apr 2020 00:42:11 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4002E18054B for ; Fri, 24 Apr 2020 16:14:27 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 24 Apr 2020 16:14:26 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id b17so5927264ybq.13 for ; Fri, 24 Apr 2020 16:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=R9VeSeVPVD0V3kEcrc7opqygu0OF80DwmCj8gup/W1E=; b=j2p1AaVa11nUNlygMUVoaEbsHcquKxlPIKqyKl/KqKEK2GDrJYviBZKkqokkt7Y/MV BzJA+pw9bpTCESz1Mxe5hy2bRgIPtlkAGHyUkZ/oGnY86rTO22Q4l1LhYCElzbYFSm7o udbOCKL/l+noFD07yAbqP+NkzxqB51r9qp9zuLFYz1tW7TitsLu/AwKKDPKUTWSOaEuG 3g38NgRV8qFNoptAOdd+RkBPNcQ1KbYGXAiQNyAjLWqfKurOkQiJ6iRM+swZ62j299aF 0gUvp2y3Qzpb+qIAG5Aw5XfBiildfQiNbXNfOdmp6gpp2tgB2lQiFZ28MxpjNJWvXWCd MskQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=R9VeSeVPVD0V3kEcrc7opqygu0OF80DwmCj8gup/W1E=; b=Xsv4MU3ZPOYyTBvvboOOBhdKzgkiu8jc5jwSAoy83aL7e0JeVOhvWas+92eUYvZz0w TddMToov4kD42E8e07FqoA7MpG0bQ2bfqNJZ3Bn9bt2ydejks4FQZ/xHxv3eKxPxPSXT zFfmSe8+RVHTxKpgTrlMzLEP0B5qiNzspIg5F//yaluv0c+zZXbnQgZEOUrT7hicZr3U QWxFzdH0LnjcySL0pr7Nqkvolo4UJEjQ5sz1hAaJ+vNd8jEaNKl3P49IwDrwyNTjj45M m9av1PHzJbt19u+OgGHy8n1O/zEPUZbzyMwkfD1P76Ar/ngQkpEfoipRwpBI5ZjVna3B AK+Q== X-Gm-Message-State: AGi0PuZT4zZn8Rj+dZMjdfzpPyz/RZurBqQRSAudAbzUbLrcRBnqwxZw Ax2P+pytuJMSxUC1Irqg6E8UDdM5tdOIys7q3n6VY6I54KI= X-Google-Smtp-Source: APiQypKCqSmNeouxoa943wh1sdSx4P61AxyQx5k4dgs4ohzpqct9Q0POArwSjZKUDy1n+XM1ioj0Eu42nTAbvZXjh08= X-Received: by 2002:a25:1a84:: with SMTP id a126mr19800792yba.161.1587770065230; Fri, 24 Apr 2020 16:14:25 -0700 (PDT) MIME-Version: 1.0 References: <5ea1aab8.1c69fb81.72671.791bSMTPIN_ADDED_MISSING@mx.google.com> <5ea371a2.1c69fb81.f5b75.0831SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5ea371a2.1c69fb81.f5b75.0831SMTPIN_ADDED_MISSING@mx.google.com> Date: Fri, 24 Apr 2020 18:14:13 -0500 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000b91d8305a41186b8" Subject: Re: [PHP-DEV] Re: [RFC] PHP Namespace Policy From: tendoaki@gmail.com (Michael Morris) --000000000000b91d8305a41186b8 Content-Type: text/plain; charset="UTF-8" On Fri, Apr 24, 2020 at 6:09 PM Mark Randall wrote: > On 25/04/2020 00:00, Michael Morris wrote: > > So, in steps: > > > > 1. Take the current function roster - all of it - and put it in > > \PHP\Legacy\. So the formal name of strpos would become > > \PHP\Legacy\strpos. > > 2. The root namespace would be empty BUT... > > 3. An INI directive set globally or per directory can set which namespace > > is bound to root. Initially this would be "\PHP\Legacy", so all legacy > > code would not have to change - it would run in the new version and find > > all of its functionality without incident. This is critical - as this > > directive would likely need to stay as is for two majors minimum, > possibly > > more. > > Thank you for the contribution. > > However, such a change would never, ever be accepted. With good reason. > > Mark Randall > marandall@php.net > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > What good reason? Because it is hard? --000000000000b91d8305a41186b8--