Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109740 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 42636 invoked from network); 21 Apr 2020 08:48:50 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 21 Apr 2020 08:48:50 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 297A51804D3 for ; Tue, 21 Apr 2020 00:20:12 -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_H3,RCVD_IN_MSPIKE_WL,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-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) (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 ; Tue, 21 Apr 2020 00:20:11 -0700 (PDT) Received: by mail-oo1-f41.google.com with SMTP id i9so2699091ool.5 for ; Tue, 21 Apr 2020 00:20:11 -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=huYS41bCxd1mug7RmkVcv9dpN3l/kdCIM4IodF2aME4=; b=QQL25i5s+VLNUKMwDx1L3AyxaWfGZ9mXcHQA4oGoXwpGiYLfFVAuiDX5Z6IvP+s3g/ +qIhD/r3CsomVlE6OAC0eOx8NRyT6prEaWe4oIGChhvDybrYpC1wTamkgMWgbX3qsnax tXj1D0vNXJVQeuDWA70h2+GfteNq2rpxBIFD4PJZthtGdBXoJt3tsyI20vTByFMrWeAd eYnbC9ui4Fg37Kdy8d7kOKhGsScwGm4A0GYH/tsJvKvenQWFUM4uodjvy8JweSwLmi9/ BNskQBCnwUDSBbW6QzK163b+gv3HCInhWcldtZrNwM4P92DU1AdVMBUsfADbrJ1MNv/E KTSw== 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=huYS41bCxd1mug7RmkVcv9dpN3l/kdCIM4IodF2aME4=; b=M8k7bMKHlOV4VCpJNGe2EEDpOqdgBsrelML+QMgIQCI0FOvn3RmmPeTWJ2iND3nRhX 6JSKwn7E+b8mnsb5TjIiN3ZdG2yTicE2GFbX0DYvtTIOOaK9G4juXHP3cLDIkxpwf8NJ AjNDtcqW/uxtxAxNXw8XJ2/N5rkmsmP+cxXV/owopoWZvU0D01TSIcuxZB+uPsbz4JW+ aUP5Dq1jXJ7XnuB27zroCHpsJO84IV0PIul1xBYg0YwmE4Bi584XkU+gToMlfXJj6iCF rqXaqz+Nk4WWewuHWiHifG7DlsBsLQw0ogRhNyJuknNuc+xVxZy3WgYnvOU5zU0QyAkO Wx8A== X-Gm-Message-State: AGi0PuaevesYy+Zz9ZNhIjHqJ3f/LbeYgyKQ+hRR9+FIPtq44Tj4HNSp fj8urcZZyVzhWgBO6s6hYnZmTmX8hdX9F2lM2C8= X-Google-Smtp-Source: APiQypJjIs9LMb75QXFh2E4/HPC9L9yGu2xbAJksvay8wt9d3Tv0ZP9a8K1O4JhflqxO1cgqGV248UapMp0q9C/0+F8= X-Received: by 2002:a4a:9f47:: with SMTP id d7mr15733466ool.18.1587453610093; Tue, 21 Apr 2020 00:20:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 21 Apr 2020 09:19:56 +0200 Message-ID: To: Mike Schinkel Cc: Benjamin Eberlei , PHP Internals List Content-Type: multipart/alternative; boundary="00000000000086f13d05a3c7d8f7" Subject: Re: [PHP-DEV] [RFC][DISCUSSION] PHP Namespace in core From: michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --00000000000086f13d05a3c7d8f7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Mike wt., 21 kwi 2020 o 07:29 Mike Schinkel napisa=C5=82(a= ): > I have been wondering for a while why PHP does not officially recognize a > \PHP namespace. > > The inconsistency people have mentioned feels like a fair tradeoff for > allowing new core classes to be cleanly-named and easier to understand. > > And a \PHP namespace would allow RFCs to never need worry about > conflicting with userland class names again. > > The one thing I would ask the authors: > > - Why limit it to "tightly coupled to the PHP engine?" > - Why not just say "any new core classes that are approved to use it?" In the past, there were some proposals which treated about core namespace proposing to include most of the core symbols in a structured way. These proposals always failed for some reason. This proposal tries to convince internals to use PHP namespace in the core for tightly coupled to the PHP engine types which could be placed there without a risk to be unbundled in a future what would cause a need to rename them back. Therefore we think that these along with the arguments in the proposal are the best ones to agree for now. BR, Micha=C5=82 Brzuchalski --00000000000086f13d05a3c7d8f7--