Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109661 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 26843 invoked from network); 15 Apr 2020 18:38:10 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Apr 2020 18:38:10 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DF9571804E0 for ; Wed, 15 Apr 2020 10:08:08 -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-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) (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 ; Wed, 15 Apr 2020 10:08:08 -0700 (PDT) Received: by mail-ot1-f46.google.com with SMTP id m18so601519otq.9 for ; Wed, 15 Apr 2020 10:08:08 -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=xDcYPh37S0AzOTZh7S7oPytjI18LejZtp/BRgjd3RbA=; b=oxlxoltLTnf2HexZcpmyKqrbJIbp8T/7M4LQqlpobL194m5SJRRj5RUbT38iFzPmqa ZqZZQpI1cGSryROSz2sG9ll7v9eYC0WwQL1eeGR/C4+MJIvTWrh4xMwXUnzDxWX0aWbm 0l4Wi/QehO1mjtmxeXLhUwHA7qpqsvZfIOATAUSJ0OwFe+EcrUXGGjmaGFsGxI32DmE7 2JxQBXVEkDXCgBWokdwOO5fwiYylK+xj36es1e3HXEOfX5AhJIrVho4aNBUvD5y0WxOt kgbd65rHDZZJ7kRG+cb5ilpk2aY2WvTvyetTafD6o5wX7EtY3KOrN2PCY6LgavuKuH6O QPmw== 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=xDcYPh37S0AzOTZh7S7oPytjI18LejZtp/BRgjd3RbA=; b=BHsC/7JfV9O2swxAZINltI+bKyXM6ODey71QjOYYFq2YYIlbghAQD00kfxt1qiiO48 1J7gKdC/Geex60Wa3Mb3cb1bYC4wZQUBNURbsXQAjV+w5nhSMSOPgs69vLhjmRYoDHCK CcydPIFjs7nTNjoiI3Sk9SYxJRjn8tri9LCfH71YNhgttld3N8TZ89PUye4zLL3c2pux Mtltr1SiBIiWbW2IrMtH2kosWTLq3WkSRjKl34JS9LXGSXzsVxQnYXxvHPXX5AnxSmZv fIAf5GmQbXssUk4JvuTb9qXiT+x5iZrL7/fYw3xNXgPimBnwy0DAaegkLoCQoSfwaDJG O7Gw== X-Gm-Message-State: AGi0PubdpyjKlaZ4DtTIb0jUZZmvu5KRADRr+DeyzwQStQF/r/hjeW0V amaq7w9WI6OOrhge8EWkRoVedD445oldsm1sZbTDDE+jDh4= X-Google-Smtp-Source: APiQypJqJHPRJCuLdbUt6InVnkcNd+/kafQkRBFRiHpCoa75DUDNTchXhORY9D9LFcYEAfdx8B4KdEVac0UePHo3LYI= X-Received: by 2002:a9d:2264:: with SMTP id o91mr3564262ota.258.1586970485528; Wed, 15 Apr 2020 10:08:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 15 Apr 2020 19:07:53 +0200 Message-ID: To: Derick Rethans Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000000f1cd905a3575cdb" Subject: Re: [PHP-DEV] [RFC][DISCUSSION] PHP Namespace in core From: michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --0000000000000f1cd905a3575cdb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Derick, =C5=9Br., 15 kwi 2020 o 15:51 Derick Rethans napisa=C5=82(= a): > On Wed, 15 Apr 2020, Micha=C5=82 Brzuchalski wrote: > > > Hi internals, > > > > I hope you're doing well. > > > > I'd like to announce the PHP Namespace in core RFC for discussion. > > The RFC is authored by me together with George Peter Banyard and it's > > purpose > > is nothing more like to allow the use of PHP Namespace in the core. > > I think a "may" is not a clever way forwards. I think that if you want > to use the PHP namespace for engine specific things (like > Attribute/Token), then they must all use that, or none. > You mean if we want to introduce PHP namespace we should also propose immediately to move engine specific things (like Attribute/Token) into proposal? If so then we should search for the rest of engine specific things which will include then many interfaces and classes like: 1. Traversable, Iterator, IteratorAggregate - cause these are used in foreach statements 2. ArrayAccess - cause this one is required to accept r/w by dimension (offset* - methods) 3. Serializable, __PHP_Incomplete_Class ?! - cause this is used in serializing/deserializing and this is bound to magic methods in classes 4. stdClass - cause this is a default class of the object which is produced when an array is cast to (object) 5. Closure, Generator - cause these are also tightly coupled with the engin= e 6. Throwable, etc. - just for consistency with the rest from https://www.php.net/manual/en/reserved.classes.php and https://www.php.net/manual/en/reserved.interfaces.php Is that what you mean? Cheers, Micha=C5=82 Brzuchalski --0000000000000f1cd905a3575cdb--