Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106224 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 92488 invoked from network); 16 Jul 2019 23:38:44 -0000 Received: from unknown (HELO NAM02-CY1-obe.outbound.protection.outlook.com) (40.92.4.37) by pb1.pair.com with SMTP; 16 Jul 2019 23:38:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8QshzIzfe6244IcQIfLJkVd+n+LnIlZiyJnUOHLi7Ug=; b=UODdWDf3eqzl/YHaCPhLzgdskf5uykqQ0ktODCSb4DMuOnhBH9o5Zz50TZJjnWQMNUrVLGFCKj/T6ati9mpWUmIXpUjM9UpniHvDoQXrAkBtkxpUqI/Q6LpwM4ZH6hol8ULYjOH4x/DaAQRo1AWGwUoCaTDIMzUz0p2T1ijPdIl0H8wL2G+DIW6hEjVTIZZ1qRkBreI8EU093196Ph9+/A0gR9nKfx18Db1sevtWJHLUcQ8FBRJYaWoYiXy8xxJZmHl4JljZAunOnhQmjhIiALng2PNS7EP0rFmpTgXlycJ6XNvRJrZuGS2AWIU5g/FyHa1kie92SRCGFB7qP2u4XQ== Received: from CY1NAM02FT028.eop-nam02.prod.protection.outlook.com (10.152.74.53) by CY1NAM02HT156.eop-nam02.prod.protection.outlook.com (10.152.75.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2032.15; Tue, 16 Jul 2019 21:00:12 +0000 Received: from DM5PR06MB2857.namprd06.prod.outlook.com (10.152.74.60) by CY1NAM02FT028.mail.protection.outlook.com (10.152.75.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.25 via Frontend Transport; Tue, 16 Jul 2019 21:00:12 +0000 Received: from DM5PR06MB2857.namprd06.prod.outlook.com ([fe80::48cd:8998:c8ff:1f79]) by DM5PR06MB2857.namprd06.prod.outlook.com ([fe80::48cd:8998:c8ff:1f79%9]) with mapi id 15.20.2073.012; Tue, 16 Jul 2019 21:00:12 +0000 To: Nikita Popov , Peter Kokot CC: Zeev Suraski , "G. P. B." , Stanislav Malyshev , Derick Rethans , PHP Internals List Thread-Topic: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags Thread-Index: AQHU74pXMjGiK+TLDkyigDPBYFMyo6Y175AAgACt34CAAHxAgIAAFNkAgAAxcoCAE+KogIAAJQcAgAAFY4CAAAn4AIAABbmAgAADDQCAABnKAIAABfEAgAAChYCAAADsgIAAA1QAgAAAfwCAAAt+AIAFn9UAgAA5VQCAABNMAIAAhMEAgADA8wCAAiy/AIAAE++AgAAfqoCAACv2gIAAFz+AgAMDvACAByUjAIAGxnoAgBRLuACAJVQXgIAuOibv Date: Tue, 16 Jul 2019 21:00:12 +0000 Message-ID: References: <49A4B76C-4C62-4CBE-BA20-FBE56CA29AB0@cschneid.com> <609E93CF-099B-446C-AD28-04F1D802C9F0@cschneid.com> <000401d4fac8$ae592cf0$0b0b86d0$@roze.lv> <961cee8e-8185-b7b2-2b51-838946d2c7d2@gmail.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:ED26F071AEB8A1D9F1B9B1DC309AD9D5C20FC4623B868452B83B24A3FCC06D8C;UpperCasedChecksum:EFA147996E2695FCDD52CE094B708B680A15DB0477952E32F6572097006F150A;SizeAsReceived:8611;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [nI3aZ70JDgFx2oNtcmorRskWyi991XVS] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045);SRVR:CY1NAM02HT156; x-ms-traffictypediagnostic: CY1NAM02HT156: x-ms-exchange-purlcount: 2 x-microsoft-antispam-message-info: 2/0L6wiPWQUk5XLX3In9S9VwqgBgokptakHsJGJQFq2uhr9coaeEOrcRNMvZbCOL3gedO1Rc81c8UZNmUmXTMGD9oewk5v0fN1OPa0NGMXuGQzxDvuqU1R6aqo8HlnRLRhGn/rWFvUUGv180oz4fHbFPcucMxxYpiXA9cxb6HoRUdRjm1DiZct6VvzBHtrm7 Content-Type: multipart/alternative; boundary="_000_DM5PR06MB2857F50892E1810380E5EFCDDECE0DM5PR06MB2857namp_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 4ae66fc4-1a6a-4515-8c0b-08d70a30983a X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2019 21:00:12.3765 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT156 Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags From: theodorejb@outlook.com (Theodore Brown) --_000_DM5PR06MB2857F50892E1810380E5EFCDDECE0DM5PR06MB2857namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Seems good to me. Short tags have long presented a risk of code leakage and lack of portabili= ty, since they are dependent on an ini setting which not everyone has enabl= ed. Hopefully this can land in time for PHP 7.4. ________________________________ From: Nikita Popov Sent: Monday, June 17, 2019 5:55 AM To: Peter Kokot Cc: Zeev Suraski; G. P. B.; Stanislav Malyshev; Derick Rethans; PHP Interna= ls List Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecate PHP's short open tags On Fri, May 24, 2019 at 6:53 PM Peter Kokot wrote: > Hello, > > On Sat, 11 May 2019 at 20:56, Peter Kokot wrote: > > > > Not trying to rush anyone to something they have no energy working on > > anymore here but what's the plan here then? And what plan is there > > with these short tags on the long run? > > I'm just checking then why is this RFC in the pending implementation > state if basically we're on a way to have the short opening tags in > PHP for ever... Maybe we should then enable them by default to have > the other way around situation of having both tags for few 10 years > and then ditch the long one if it's not going to be deprecated in PHP > 7.4 and decided what to do with them? > > https://wiki.php.net/rfc/deprecate_php_short_tags > Girgias has put up a new implementation at https://github.com/php/php-src/pull/4263. If short_open_tag=3DOn and