Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108127 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 38450 invoked from network); 14 Jan 2020 20:20:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Jan 2020 20:20:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7C2551805AF for ; Tue, 14 Jan 2020 10:27:31 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8075 40.64.0.0/10 X-Spam-Virus: No X-Envelope-From: Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn2011.outbound.protection.outlook.com [40.92.23.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 14 Jan 2020 10:27:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l2UyYZ3Jv1i518VkWjPmWUOvRi2hDPHPVU8k//egg2gxrEWPDLaoL/uATqebmLQGnFbju3Run1TH6v7NyKW2lWdeAHN5VOwwIZoKGSum0iK0d7J1gYQKYXbBIj6SjUNUDTGXrKvIk2Kv3EexVthnU1R0RnJtZ2FOqrI9Tr0Ej0hJSj+zvUIYyq7meksNhyNU7hU2JhVw/FdAwxsNntBNPDNQe2V00uFzLPFQvcr+UL7J8vuoWldnh//rFJNFfUgDAp7+fjDCK0dzxU+StyucnYAWPnjVOuHn8s7o1K2jjn6Pb87fHkmPqvm1SH6YG9n+082YRUHUvoweCLQEccS0EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PSQ8UtDqtdSKSrVcf1wRoJdfoeO+Rpn5igq+OGcMii0=; b=kS/irE+SCKpprJBy4rBuUAVidqluzGwzfeOQaaJ29Cw2S53XiWPSHvfEQSwSEKAm0/RBJXkftWMhcTVe8ywGmizyUAHtJCRdD97dD4ulzzmkqq9YfjvUh9xqcpMv31EBgnmSwzjqTJP9LmGKEACV6sHrZq77fWJNQl7ny4ueLNuDzV41gH9+3h6tyzFClBFQquFLUnW2CE0EzJPeGOuCBKmajoVf8T+dq6rDcjA5FnnPsbCecgAtvmHq+OVPN5liAfRz35LSbigmy3IAzNf0frOfINTSHT3USL1X6ZhQ8hIeoge298qqyy9PDPibV6lfF8afdfCgvJjIEpY4pd3g6g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PSQ8UtDqtdSKSrVcf1wRoJdfoeO+Rpn5igq+OGcMii0=; b=nixsU56jNpf0swTzxbBQgAHe7cKrmLkK9MZtJo5purMLCuGeDDyoOxJB+fgLQVHE/BgwsupTi7P7V85fKu70GCAV9UHK0FPPhfaO5UZQHb47LzlmldD3kiuR8YcaycFOUUNe2IqE3LoGHCrIlTkkTJi1IQ+wcUrNxE/c2UxwXbLL0JdIqGSYssV3qieIv6z7dAUhhL+wPE1iQ7MHPcXvYSdIGtt5mzhsvIXUHyB082YtVyla+CpKaXQRVLlX/NhjBS+EYzH4wLxpQVdAZrN2XFm5URVoFMVuKPFPVjSnfK+wvky0O3DQTtYHNBh+qLpdwqNhR5OsKuHehN//RtH0oA== Received: from MW2NAM12FT048.eop-nam12.prod.protection.outlook.com (10.13.180.55) by MW2NAM12HT174.eop-nam12.prod.protection.outlook.com (10.13.180.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.6; Tue, 14 Jan 2020 18:27:27 +0000 Received: from CY4PR07MB3063.namprd07.prod.outlook.com (10.13.180.54) by MW2NAM12FT048.mail.protection.outlook.com (10.13.180.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.6 via Frontend Transport; Tue, 14 Jan 2020 18:27:27 +0000 Received: from CY4PR07MB3063.namprd07.prod.outlook.com ([fe80::6064:b0da:81fc:19f4]) by CY4PR07MB3063.namprd07.prod.outlook.com ([fe80::6064:b0da:81fc:19f4%2]) with mapi id 15.20.2623.015; Tue, 14 Jan 2020 18:27:27 +0000 To: "internals@lists.php.net" Thread-Topic: [RFC] "use global functions/consts" statement Thread-Index: AQHVwNgGtev425C1jEaW2/fYCDQJoKfqjUCo Date: Tue, 14 Jan 2020 18:27:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:12C634F730226B377879109379F93CB49AA4A04654D8F8AA5BD979AA875AF639;UpperCasedChecksum:6C43858E3EE9DB89620AA445997D3C6F1DA93E78F0C99736E522125C5B757C4A;SizeAsReceived:7139;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [IvH5+7UAbx95bsOyYmaaroYNCGHyJJncVQjiftNduqhGfv26OdibhUg82VByKP8R] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: ef3e0f87-9436-4e5e-9346-08d7991f688b x-ms-traffictypediagnostic: MW2NAM12HT174: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6KMFVugn99lqwckJ2J5d+u5nk4urWLtxXjYCIExLZLB4eaIimJLGyinClYXS06EUWUC5xaSmnJL/XTNHiMgEOtbVY8asIsDvRAm6AsYjlHG0Ap4RqlcZTuy3/RNdgy4oi/9klAgm48GJwL69WJ6zyZmGXl8cAWcrlLWqVVh1L1aCi2zeLDxpMS8BvB1GN2ZGtfzqApUXSCxnu8j1Rv0E4R8M+BOo/bMuDBPrPCpPIoc= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: ef3e0f87-9436-4e5e-9346-08d7991f688b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 18:27:27.0979 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM12HT174 Subject: Re: [RFC] "use global functions/consts" statement From: tysonandre775@hotmail.com (tyson andre) > This RFC proposes to support an opt-in "use global functions/consts;" sta= tement=0A= > to disable PHP's check for the function/const in the current namespace be= fore falling back to the global namespace.=0A= > =0A= > https://wiki.php.net/rfc/use_global_elements=0A= > =0A= > =0A= > Earlier discussion can be found in the 'Opt-in "use function *;" for skip= ping check for=0A= > function/const in alternate namespace' email thread, which can be seen at= =0A= https://externals.io/message/107877=0A= >Let me know if you have any comments on the RFC=0A= =0A= I plan to update the wiki and start the voting phase tomorrow with the voti= ng structure mentioned in https://wiki.php.net/rfc/use_global_elements=0A= Alternatives/Arguments mentioned in this thread have had summaries added in= the discussion section.=0A= =0A= Thanks,=0A= =0A= - Tyson=