Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108633 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93746 invoked from network); 17 Feb 2020 04:45:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Feb 2020 04:45:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DD8821804E6 for ; Sun, 16 Feb 2020 19:00:25 -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 NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2095.outbound.protection.outlook.com [40.92.19.95]) (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 ; Sun, 16 Feb 2020 19:00:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=USMRcVJTw3FmeC1V0JAJ93sUkAM0hcn2Zwa0XM7e85tNoarVZRbMt0+Zg2+QHQd4GhMEmbJFSMVfg2p/EuPNZasjSfj9qNYrTuu/VTKLu3FgkdbkYk9MP58Z+jXQHkZGHdh4+x4iwrRuYv/3FkQ+caeOpxV4/8aXpurjj5p5fFS1NF3WuHxbbO29YsVBYX77YFTKNIV0SDRsPMnIZnA3sBUdpi9jh4qvuuPbBvCBbro7eVm8zOWJuv0hBDTxWBiVPG1Gnj11aYVr1Bfw/+Oko0rN7SBoz8WppMOhsT//wEpdmu5I3exbPKAUnpOdnvRwNMr0uh3q8U1a4O3l1UM0Yw== 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=msKpD9yxcJtnzu9Jnvtiop/vD688GrVyffV0ZbtQfsk=; b=mtFBpNiY01V0ssvMn9+JuxLRmpdN02za80l+ZAY2yYqaUAIv1QgPfJ+6uYxop6OOcW3dgay0V+8mdrmRLKG8u0kJ9/p+pwpWWnD90kBfImyAVErlPUC93ouTOaOWu3vdTYJ2gD1nWQGBeM1eSxpgE3KqIbc4kNqyECu6iIqg2Uu6Em6WNUjHBHxLDu7xXy+ulL5QXvcbe5TGXHwszRyH24Ggy8ia047hSCiP+PsJHADd8uEZwTjHr2JIuvdZNartfhcT0Tcd7VtinRsCN62m10nhSc8YtRwIjdch6+UuXIa2YTq4hFccDd2FaZ8H/hcpSU6WAGONngWfoeT4mt6p7Q== 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=msKpD9yxcJtnzu9Jnvtiop/vD688GrVyffV0ZbtQfsk=; b=jHWLnxezzBsKRcDR6amQZb9nyHVLR+qv0i045OARBG9EXiD9gonpONtgfvYqLdb+9XPZqrjAC6F0YStOREknnYB5Yek+v5BcVAAxidpGq4ZNlvO0GTSzWcsJ8F8ndKzvQaQmZtayBTU0aG26gDr2e2IDKBxMEiCp91qi+r5BGcoIW4wmOk7DTOsNnkCk/dNHQWDxnUAmkEjYRG7xtq+NWWgEzOJl48bucE7Nn5fHvJ4FYUfempKBzBlLOGXV4P9pblqL1qi+LKoHzYuH7OGSjcLgwEEhBcYWekkrJJmeDXPKA4/rYUTZ8gqLV+TlnaLJRziJmOubkPVqWTiUFyA1nw== Received: from BN8NAM11FT042.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::3b) by BN8NAM11HT100.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::426) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22; Mon, 17 Feb 2020 03:00:23 +0000 Received: from DM5PR07MB3067.namprd07.prod.outlook.com (10.13.176.53) by BN8NAM11FT042.mail.protection.outlook.com (10.13.177.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22 via Frontend Transport; Mon, 17 Feb 2020 03:00:23 +0000 Received: from DM5PR07MB3067.namprd07.prod.outlook.com ([fe80::1133:bcac:caf1:d588]) by DM5PR07MB3067.namprd07.prod.outlook.com ([fe80::1133:bcac:caf1:d588%3]) with mapi id 15.20.2729.032; Mon, 17 Feb 2020 03:00:23 +0000 To: Mark Randall , "internals@lists.php.net" Thread-Topic: [PHP-DEV] Re: Straw poll: Places to allow function calls in constant expressions Thread-Index: AQHV5TVGaQlwvBZF+k68DGwMXa9nx6gerWUAgAABZLw= Date: Mon, 17 Feb 2020 03:00:23 +0000 Message-ID: References: ,<5167444a-efce-44dc-a83c-079b58ad3fe2@BN8NAM11FT058.eop-nam11.prod.protection.outlook.com> In-Reply-To: <5167444a-efce-44dc-a83c-079b58ad3fe2@BN8NAM11FT058.eop-nam11.prod.protection.outlook.com> Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:BF552221646783E4DA3B55B821671E9ADC44749D22010D086C6CDFA92BB880BC;UpperCasedChecksum:999D3B55F189D65CF8B0904AEEBE8A27CE4F6AC08ED3A34AEFA4BACA1E13534E;SizeAsReceived:7178;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [gj326/YvhZTfZwQZgXMIhHmAww194rvO] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 39dbcd28-1d02-48d4-0f4c-08d7b355886f x-ms-traffictypediagnostic: BN8NAM11HT100: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9kGbrokfhG1KXuh0iIu75lmWT/U0F0I2zxbsrirejPNu0hlHqTdUBH/whszHroWijQYuliAJlW7a/C8d27jaMmLtAOs3qlonsDftAWssAjkhm5Nn3M8uXSz7kj+FN9sIADNRBkhCBUF3AoWeTpGS4LljByy8nxCdAybvJ40A6isiwq/onyo15V1VsSxTt+2lIrIux0iYH8v3QCjKIcn4YAF9vKFGQtWvpseRWETLI6M= x-ms-exchange-antispam-messagedata: 210H9GWXQzHYpXbZ8VQGqxZLuMBZ7YkIKwS5IZu4NDPl/dRYmnJUYeNx3QepOdos3Q3q8TB5lMEXx0NnIlESkuuVoqG45qeCDghmwyHyhTTRRIgaVpKl+w0ABolryKfdQGlL64AOwTBzQ2jwsDhMqg== 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: 39dbcd28-1d02-48d4-0f4c-08d7b355886f X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2020 03:00:23.7956 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM11HT100 Subject: Re: [PHP-DEV] Re: Straw poll: Places to allow function calls in constant expressions From: tysonandre775@hotmail.com (tyson andre) > > I've created a straw poll at https://wiki.php.net/rfc/calls_in_constant= _expressions_poll ,=0A= > > to measure interest in allowing calls in different types of constant ex= pressions.=0A= >=0A= > I've yet to make my mind up for most circumstances, although I'm leaning= =0A= towards a general "No".=0A= > =0A= > What I can't express on this strawpoll though, is that I would =0A= > unequivocally vote against "any function or method call" in all =0A= > circumstances.=0A= =0A= Thanks for the feedback.=0A= When reading the poll results, I was planning to interpret both "whitelist = of function calls" and "no"=0A= as a plan for a "no" vote on any RFC I would write that did allow "any func= tion or method call",=0A= in the absence of any response otherwise.=0A= =0A= You definitely have a point that it doesn't include complicated reasons suc= h as "yes on whitelist, less preferably yes on any function/method", or "ye= s on any function, definitely no on a whitelist".=0A= =0A= But I felt like adding too many voting polls or options would discourage re= sponding to a request for quick feedback,=0A= and that any more detailed feedback such as this or implementation details = could be included in this email thread.=0A= =0A= - Tyson.=