Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112009 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 80280 invoked from network); 5 Oct 2020 17:23:43 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Oct 2020 17:23:43 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7FD31180511 for ; Mon, 5 Oct 2020 09:36:54 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2091.outbound.protection.outlook.com [40.92.21.91]) (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 ; Mon, 5 Oct 2020 09:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fr9UIV+ovCZnGp3GciVDaet86lKK3As9agFOlsjysnwmZi62rRpS2q0x8nk9oYD+C4lJVpF+Mrf8blnvgbdKWc7IJCbO80o7z5OUorweubMG0gJ2a2SYzlbG2vX0uuZFnJ95ryloh+Ad5PZJRstESO5Dgg3e34BtDpkPbd9z5+HQfmJTEFxmBdOChoZsG1B8cpSgWrQvh2RUYlbMfCe8vEu3rnDWr6NzgK2T7EMI9UN1wSdXz1zCNHVXYtgXgI+uJZBGKXzMdPtD4prpKq3s1p2xQ937jcSgif34OEHkWgb22Mp2BE3FuF1tmdEl5VxFr+pDwifHArQy9PLrekmZ9Q== 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=xQiQ7n1t2WJmZ2nu4yFaZ85iuRPUU35SZgtIsgAhHo0=; b=Xi2M09tnlXnaFM0BKdC8llBG1358GxtMDRr0f+DOwsOaZyou5I+30sVDVm3s0ho1NcmG/zAwidj6rEpFfhnu6GqMmHPPHH1yY7DOIOzk+Ap5WkWlXoCVZyvbluzHyRm6gYpIX0mpwbIxP64jDD0roGgEunuUQZHuS7OjxdbdZQWqg0iFUsDLxcWuMDY7LmqFjK2ByOdnQ65nvpTAJf9llbSSu13wpom8RhMh57KOOTY0TXPPi9rbgTeiq8aJDQGvyYeCmDea32XSmZ9mIj8m/pzYtQm4L+h/34y+A2k3RNbdTmgAtVmBigaAIVz9itJyZBBmepYsUkRT61kJHxOC3g== 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=xQiQ7n1t2WJmZ2nu4yFaZ85iuRPUU35SZgtIsgAhHo0=; b=YPvREzxvM7373/ugF4QdHVjybocNEeOdYcb4hm50/8Z66uNnx02fbVV3G+FvW2gLtyYpUkCPuvQvo7NgU+7/Jw9tg0UduffrZqcXL3l9Mi2wudDZ7gI9/TcC9xI3rxr7eST6zYpKLlqK+e6NiZT0SvtmOjSsvIWLuk2Y8WxRZNG4v3T6VpReec94waHLwCXw/m6PuWvGHJOiGMEeEWFr8OmfchE0TOh9vCKA4ww1acjxJnYDOCh9fpMbC2rSr0sNzUtqWayhrDkgkRpwXiAcO/TeKytgbaYBMoS0mjGA1QZ43j9IKAFr5O2LuzdlRUrZk3nzD1PWTSEK7EE8mHfW6g== Received: from BN8NAM12FT015.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::53) by BN8NAM12HT107.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc66::395) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.14; Mon, 5 Oct 2020 16:36:52 +0000 Received: from DM6PR07MB6618.namprd07.prod.outlook.com (2a01:111:e400:fc66::4d) by BN8NAM12FT015.mail.protection.outlook.com (2a01:111:e400:fc66::444) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.13 via Frontend Transport; Mon, 5 Oct 2020 16:36:52 +0000 Received: from DM6PR07MB6618.namprd07.prod.outlook.com ([fe80::f9d1:ed5b:8625:bfb4]) by DM6PR07MB6618.namprd07.prod.outlook.com ([fe80::f9d1:ed5b:8625:bfb4%7]) with mapi id 15.20.3433.044; Mon, 5 Oct 2020 16:36:52 +0000 To: David Rodrigues , PHP Internals Thread-Topic: [PHP-DEV] static vars must allow expressions Thread-Index: AQHWmzKEKdUm1XjoJkyee2mGFoQK4amJMvv5 Date: Mon, 5 Oct 2020 16:36:52 +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:BE5B8C24A3E95A4C29B3A5F497E52CB89CB8517CCE0A3A4B7AB4753FAD4FBA51;UpperCasedChecksum:EEB916F2C7E6BCC9210C0A27EFF70DBB9FB507E9778828A2B6E3760D08D4A29A;SizeAsReceived:6913;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [bA/V/0D5sxLrzVCtPHv9+NRJ77tHtW5Q] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: da835405-78de-4f2a-b667-08d8694cdd55 x-ms-traffictypediagnostic: BN8NAM12HT107: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: i7JMyytiY9Sxb3SJPiODl78ccu2hvDpI6nzPFjSyUq1fnFR98eeW2YPMMbMHdGE67uO0sNgyh9IzwsX329FNffZY8HWcaYO5gSi7jo1wffZDRfcoIi57AXD9paZzFx66LoWRdD+afGhDFO3inkhheY8xgzw5rCfiElJesz1YWMsPEjmQ/va+dslsdlCP/YBB/REQM/RgV4hfubGLPGhD2YIooZ8Mo7a4QBh2LKMIc2POXOrkNzTcPntPWhRLpxUF x-ms-exchange-antispam-messagedata: j1L8bPmgztUl8lWUvIjyRG+hAfAIACTcEvI4IJnrrOoHLFJfC/PGLMZzRuhne2nWr4+w+0FLgIC9pqEOznc6avhYN8lOz8rwE2BsRjQc516zjf3DcS4Z9kc6fVwRpgq/xvm4TD6nlFxnk4pcYPtq5w== 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-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: BN8NAM12FT015.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: da835405-78de-4f2a-b667-08d8694cdd55 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2020 16:36:52.3968 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM12HT107 Subject: Re: [PHP-DEV] static vars must allow expressions From: tysonandre775@hotmail.com (tyson andre) Hi David,=0A= =0A= > I would like to suggest that static vars must allow expressions too.=0A= > Currently it only supports scalar values, but different to consts, it cou= ld=0A= > be manipulated by its own function that uses that.=0A= =0A= This idea was brought up 6 months ago with others in https://wiki.php.net/r= fc/calls_in_constant_expressions_poll#vote=0A= (See the poll for "Support calls in static variables")=0A= =0A= The straw poll voting results were 14 against and 2 in favor of a limited s= ubset of that functionality (and 0 for "any variable").=0A= =0A= Even with more compelling examples and references,=0A= and only focusing on one area, I personally doubt this would pass. (a 2/3 m= ajority is required)=0A= =0A= The 6 months period for repeating RFC ideas has passed.=0A= The implementation for the corresponding RFC may be of use to anyone intere= sted on working on similar areas,=0A= but I'm currently not interested in doing further work on the implementatio= n.=0A= =0A= Thanks,=0A= - Tyson=