Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114060 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 21674 invoked from network); 15 Apr 2021 18:20:20 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Apr 2021 18:20:20 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E6CD31804F8 for ; Thu, 15 Apr 2021 11:21:40 -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-Virus: No X-Envelope-From: Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 ; Thu, 15 Apr 2021 11:21:40 -0700 (PDT) Received: by mail-lf1-f44.google.com with SMTP id f41so17294969lfv.8 for ; Thu, 15 Apr 2021 11:21:40 -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 :cc; bh=5LbE4nYMlOZ7y84AGJ7DLL3Z+PYg6LeK7UU+FjLl/J0=; b=DdeFmGVywJVdFLbzsmhLW61QDMjjC2QI8N8OPkoWyoVngJehAC37NwC6GerY7ybuHd 1HwyGQyr8ZvVVSxEXUsMgT5wS7osoXrJb5dz+y+wTeH5cMW3DaTOp4wI4UzOsKJwL/9U 5AJsN+86YiZIuA6UJo/3EyRAMIW4Z8jyhH7Ryls7xGb+0/6J4h+Cg92eGjnuRDmep8/b 1MFGLH66E6j5YFgQ13Y2pEnDuEUBnGlNojO99kG+EgXRDRj1SPApAotZfvw7qhCzxp9j zfyy4caPSkZ7lzaQtIOAaU3cqFqxqBGTvfU7JnwMVwU3gtV047a+WpRCDPLu1RE5DlId Fq/A== 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:cc; bh=5LbE4nYMlOZ7y84AGJ7DLL3Z+PYg6LeK7UU+FjLl/J0=; b=r/+KSG1mlD1y9OODfOCZXrXcMtvIkGfUuzeNOK3BuuMdL2rTjYUXBLuhpEABxhtuDS JYTyvYKkU1NxJaZBXcgVeZb/QEtO9z6yj8BjDuSlZPYcmgIyinhouGhUPZFs7kh2I+mR +pii7YgZL7MURAGzxQzAAwuWTVx36aPYJqQnQD7ofLHW+700FjETqh2d/fp2qG5Id4Ua wewQwKNv8l370Xxu1zDzsroRDG9s5cmusujteEwFhUwaYuQJItTT2DFVNEWQ/Ayz4RC9 MFjkVSvWpL44mdKF7wxbuj+h0qo7cK1D9FDXLbegOVMRRC6Wmc0W37ZvICjJo8KoJCA7 KlYA== X-Gm-Message-State: AOAM532BY5oGPz6zlZYSosYqRwMmpbK/eFCYc1OPNnSpwJrgXXa9PcSx HfTeroqDFy1Y65Sd6Fg9j2UPIqrQVEzJfbFcmV4= X-Google-Smtp-Source: ABdhPJxdRAlbKivfx7GDQqhYor9hidYq/sa9CuB7jaEOFaEk68oUaDuzL3ijdpDrM4Fn1IN1pEJ0EyLsqgQpdmu6atE= X-Received: by 2002:a05:6512:48d:: with SMTP id v13mr281150lfq.485.1618510898243; Thu, 15 Apr 2021 11:21:38 -0700 (PDT) MIME-Version: 1.0 References: <66e4d926-0d3a-4588-b5a6-ddd863de3ecf@www.fastmail.com> In-Reply-To: <66e4d926-0d3a-4588-b5a6-ddd863de3ecf@www.fastmail.com> Date: Thu, 15 Apr 2021 20:21:21 +0200 Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="00000000000027aac905c006efb8" Subject: Re: [PHP-DEV] [RFC] Namespaced in bundled extensions From: nikita.ppv@gmail.com (Nikita Popov) --00000000000027aac905c006efb8 Content-Type: text/plain; charset="UTF-8" On Wed, Apr 14, 2021 at 5:39 PM Larry Garfield wrote: > On Wed, Apr 14, 2021, at 9:52 AM, Nikita Popov wrote: > > > >> > All symbols defined in the extension should be part of the top-level > > >> namespace or a sub-namespace. > > >> > > >> This should be clarified - do you mean **the extension's** top-level > > >> namespace (e.g. OpenSSL) instead of the global namespace? I assume the > > >> former. > > >> > > > > > > Indeed, that's what I meant. I've added the extra word. > > > > > > Regards, > > > Nikita > > > > > > > I've now added an explicit section regarding namespace collisions to the > > RFC, and tweaked some of the examples (String\contains, Array\contains). > > > > If there's no further feedback I'll open voting soon. > > > > Regards, > > Nikita > > Thanks, Nikita. > > Only one remaining question/comment/request from my end: In the "Migration > of existing symbols" section, can you clarify explicitly that this RFC does > not preclude such migration proposals in the future? The reading of the > previous section could easily be taken in the future to mean "and existing > code is stuck where it is forever", even if that's not the intent. > > Eg, it's fine that the RFC does not propose mass-migrating all str_* > functions to Str\*, but if someone in the future proposes doing that > migration (with shims/aliases), that should be able to stand on its own > merits. I want to preempt anyone trying to respond in such a discussion > "the original RFC said they wouldn't move, so you can't do this migration > RFC now," because I'm sure someone will try to use that angle in the future > should such a proposal appear. :-) > Yeah, I definitely didn't want to imply that such a migration can't happen in the future. I've now moved this into a "Future Scope" section ( https://wiki.php.net/rfc/namespaces_in_bundled_extensions#future_scope). Hopefully that makes it clear that a followup RFC can deal with this question. Regards, Nikita --00000000000027aac905c006efb8--