Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108630 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83837 invoked from network); 17 Feb 2020 03:53:30 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Feb 2020 03:53:30 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 11F151804DA for ; Sun, 16 Feb 2020 18:08:48 -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=-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,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-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2093.outbound.protection.outlook.com [40.92.18.93]) (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 18:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IGSXB3UOIU39MEmuiKL+wQZbko5n0ZRFLwzZDdp5l2/UMLmvt5JOYEZxL+SyFhAqDbKA+zg1OGQlyWTwKX07K0HKcs/M+8Auv1AoKm5NjZne7pyhuuCnUnHckohcXkLT+jAOPxxGSN4dG9eAIMUF8mb3S9M2jHQfgbnZAJWiMDir4EqB8ypl1dJdIJStR6Na6w1WPFH/PhsK82NrEH4YoOx3mXTw/pcJPx/AXR67fH5ZIfrIjtjPITvlL03/1nTwW85p0nJZAPCTohDmsUXNqSwr18Q0Jvz52vu76+sI2A4eXs0KrJSYyCe7AHgidjeEtAJmhzPAF0rlln/XYMR8bA== 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=o/Ci1lhdQbDQm263IAUhCYLBW1eoYhWBRHXPIh+95tw=; b=HKAjIV5fH1YJrgELzxOlgTf4GbjX1+5Qda5dYBjCQb/CPOFV+j5uY6ZgX0XhmCkCiek8Bea0uKZL2j2k1gFmEjPjjLXD7jTG2HbjXpdqrYv+civ/M/QL5Pm8GBOkOfxtqZ9xDZaPIO/AJz5pgn8bDjo+gvYBSPzszwTxRdU7ZKz8XDf3uS9zTmW6h9ORvw+xb6w+C8w8KrCB+lBOKYnuV6Zff7NsyppYKBjtWWbiPPX/EoFKREGGMDDRBZKs/ZksOL0TE4skTEPu9CpX+tP0BLk/IyNdRjrLvqTjEUvkiAEJXdFAe6ooil/BBGv8m72iXkj5rW9z41Oyj6PryMulIg== 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=o/Ci1lhdQbDQm263IAUhCYLBW1eoYhWBRHXPIh+95tw=; b=b9cBvhpycVn1RMZPpWTOEeAk+ZyFgYKMFvkeMv9QdUj5WwvrEyhDbHKmw8uAOWBZiyKSlRGsIwgSydlqJFI0UEF1J7XAzDRWotjDNKzUs1qEuSsL2axvaE+EkEjj0er4SFLGg1m+dxZgMQNhsbcDd7zNzTvsgz8K9n7GLWb6H9fCc3TMs6s3+xh5ylLCDTqLpekPMbVu33fOMvQj7rB7Nyh/ihJByLv8QR3ELRY6ZIjRUBcB6Y1j8bsJwdsxEqOfdComRKngTOiDcUQ/+JqOytDaZabI5ThTRRfOkYh/5E0UM38Vqn2X8sQoVzW5pUGjqGk7JpKcBR4ntK49kUddQw== Received: from BN8NAM11FT003.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::3a) by BN8NAM11HT095.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::237) 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 02:08:45 +0000 Received: from DM5PR07MB3067.namprd07.prod.outlook.com (10.13.176.56) by BN8NAM11FT003.mail.protection.outlook.com (10.13.177.90) 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 02:08:45 +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 02:08:45 +0000 To: "internals@lists.php.net" Thread-Topic: Straw poll: Places to allow function calls in constant expressions Thread-Index: AQHV5TVGaQlwvBZF+k68DGwMXa9nxw== Date: Mon, 17 Feb 2020 02:08:45 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:9D146D907F49CAFFE9371AD66DC7B3CC7DED3B0F07ED8590E293F5B885A99CD5;UpperCasedChecksum:5815192E93AD74D44D761BB4F05687F8EEFA0CDD966B1A9BF66DBE4A9D63D970;SizeAsReceived:6769;Count:42 x-tmn: [vth7iUr0WOwPS+prZL8Nl4nLSHDjuV4l] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: b02adeeb-17f2-451f-f2ee-08d7b34e51cc x-ms-traffictypediagnostic: BN8NAM11HT095: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5oS9/4O8ddbqimMlwMb6b6tnFLLz/N4xzDCShG53DAPpzU2/eKV2qrEXQNrNTA/raVQgJQ/zhm5QmWVPn6Hz29P+IiT6tlKs/AXAcuVky5uTYa3qhoJ7X+zZht6GvmrQxEC3hW25cyoMO98ZN/9LCD+n0EK7JwHDfhL1P5xrg6E+yGuq+hh+RLpGeKYyNi/7Nv6d/cAjWKfgi+mdqK5ROwuCmmkCT0x/WWKGNDgp5VE= x-ms-exchange-antispam-messagedata: P1r6ghHRA4jUvAx0VAUM3Hlj5+P55acL6p/qw2pZQpkKobqFjLQyftNKp1c1Eujt86ku/SCCWPDsMLNq6sr+H+P9AJPsHc0BoObuR9roVl8P8NoPBHO9jrUHJm4/sC2HumyqmHA57dR14upFo3pLWQ== 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: b02adeeb-17f2-451f-f2ee-08d7b34e51cc X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2020 02:08:45.5622 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM11HT095 Subject: Straw poll: Places to allow function calls in constant expressions From: tysonandre775@hotmail.com (tyson andre) Hi internals,=0A= =0A= I've created a straw poll at https://wiki.php.net/rfc/calls_in_constant_exp= ressions_poll , to measure interest in allowing calls in different types of= constant expressions.=0A= If there aren't any problems with the poll structure or rules preventing cr= eating a poll, I was going to add it to the rfc index page and move it to v= oting.=0A= =0A= This poll was created to gather opinions on which of the below statement ty= pes would be desirable to change, and in which ways, before rewriting https= ://wiki.php.net/rfc/calls_in_constant_expressions .=0A= It seems desirable to change some of these expression types (e.g. parameter= defaults, static properties, static variable defaults) in different ways f= rom others.=0A= (e.g. forbidding static property declaration expression results from contai= ning objects seems like a completely unnecessary limitation from trying to = reuse the implementation, in retrospect).=0A= This poll was created for feedback on whether changes to the following plac= es had support, and what types of changes there were interest in.=0A= =0A= - Initial values of static or instance properties. This poll only address= es static properties.=0A= - Parameter defaults of functions, methods, and closures.=0A= - Class constant values.=0A= - Global constant values.=0A= - Static variable default values.=0A= =0A= I'd asked earlier about creating a poll in https://externals.io/message/108= 430 , but didn't receive a response.=0A= =0A= Thanks,=0A= - Tyson=