Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92502 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49234 invoked from network); 19 Apr 2016 22:30:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2016 22:30:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 65.55.169.148 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 65.55.169.148 mail-bl2on0148.outbound.protection.outlook.com Received: from [65.55.169.148] ([65.55.169.148:52704] helo=na01-bl2-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/7B-22821-1A1B6175 for ; Tue, 19 Apr 2016 18:30:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8soC86hWO6PnclLhrctmzy+lewDv+z4zJyC/+u3IaG8=; b=DN4nyKqQzZP/xQIJE8BpCEXvDYqARoUV8sMGgtyQKuXPH2dsiOfD4951OyGmRj4Sq2mIHS07hxkD0eVaSQVgSrNIAB7AvgwI3TaB8hxB3bcpY1dmcbEsYWsIBMpX4YeipjbmKnKrD43NI6NkF+zBGx9C4TSs7WdiQXIlT1mRoHI= Received: from BY2PR02MB298.namprd02.prod.outlook.com (10.141.140.21) by BY2PR02MB299.namprd02.prod.outlook.com (10.141.140.22) with Microsoft SMTP Server (TLS) id 15.1.466.19; Tue, 19 Apr 2016 22:30:54 +0000 Received: from BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) by BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) with mapi id 15.01.0466.022; Tue, 19 Apr 2016 22:30:53 +0000 To: Marco Pivetta CC: "internals@lists.php.net" Thread-Topic: [PHP-DEV] Re: Improving PHP's type system Thread-Index: AQHRlaUHEc+doe0x5E+u9VwQHuu4UJ+IRQcAgAANKICAAAFxgIAABh6AgAANpACAACnEH4AAm82AgAAMSgCAADMsgIAAVaeAgAASTYCAAVJIAIAACMmAgAAdwQCAAAxwgIAFsEHQgAChb4CAABdaAIAAA7qwgAARpYCAAADboIAADDkAgAAF3pc= Date: Tue, 19 Apr 2016 22:30:53 +0000 Message-ID: <013CEBAF-7B06-4237-B57A-3582800A7771@zend.com> References: <570E99AC.3090804@fleshgrinder.com> <570EA5EB.8090501@fleshgrinder.com> <570EAB0D.6080706@gmail.com> <570EB67E.8010908@garfieldtech.com> <5B147E88-CC0A-4CBC-A49D-C7FE3BF557C0@zend.com> <6F.C3.12455.94C5F075@pb1.pair.com> <20160414094440.GF19347@phcomp.co.uk> <570FD94F.90703@fleshgrinder.com> <570FE8A9.4020809@gmail.com> <20.53.29891.17401175@pb1.pair.com> <57110BCD.5030009@garfieldtech.com> <571124C2.9040606@gmx.de> <57112F31.8070209@garfieldtech.com> <57167C35.8080601@gmail.com> <57168FCC.7000507@garfieldtech.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=zend.com; x-originating-ip: [87.70.31.215] x-ms-office365-filtering-correlation-id: da3166b3-94fc-430f-9d66-08d368a244d8 x-microsoft-exchange-diagnostics: 1;BY2PR02MB299;5:CALaqIT8KdgauK1Nj+MRr3TJ/QZrmZLZErqJbsWWgpad3BsgKv64ZN9ziYHYH0HpVZU5PzOoEOIuQ/1/+wqQkDI00tSc2rJEtiYuStxQuCXAKSzIvT8uPZjrj+mc8usPPxEbLdANNGJgzNvgDYXsdBgA5BNCnKf+KR1o0OciBBtTzuIX0mNPHfeWGk7J5p/G;24:yRiDHyN2wRNhG3X15YmATjY9CabCHEfapSZW7VUyBSB6SbJy0aBFz6GOSHtG7xmEQ8nxkSTbk5iLz9t4Q7Y0IUOArhXvOEZDHWJnaUu7F9A=;7:R7JYmdEuRQhVf1SoeLLvH36W7AogepB/SpkPhFb/VlbT5rD6rMg772+xsxX+qU26PfiU79iKt5J72eTl4SBrdejDekC69NXtkd+/YmkjFlCly+PRUoMdesu0iuNwRdQN+tn2EzmAIpMHqHKFxythQCb1KlxdhtvmaYx+fmsBN6ER0/eYqwgPKRWcmEzHeYPa8V3DBU5tSA92RpgiY4RwwEBt5hOhUB96Xmn0hVGc2R0= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB299; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521026)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001);SRVR:BY2PR02MB299;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB299; x-forefront-prvs: 0917DFAC67 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(24454002)(86362001)(3660700001)(81166005)(5002640100001)(4326007)(3280700002)(2906002)(10400500002)(2950100001)(1411001)(1096002)(189998001)(586003)(110136002)(66066001)(6116002)(3846002)(36756003)(106116001)(16236675004)(33656002)(102836003)(1220700001)(122556002)(5008740100001)(92566002)(76176999)(82746002)(50986999)(99286002)(2900100001)(54356999)(19580395003)(19580405001)(87936001)(77096005)(83716003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR02MB299;H:BY2PR02MB298.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_013CEBAF7B064237B57A3582800A7771zendcom_" MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2016 22:30:53.6534 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB299 Subject: Re: [PHP-DEV] Re: Improving PHP's type system From: zeev@zend.com (Zeev Suraski) --_000_013CEBAF7B064237B57A3582800A7771zendcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On 20 ????? 2016, at 1:10, Marco Pivetta > wrote: On 19 April 2016 at 23:47, Zeev Suraski > wrote: I fail to see how adding C++ templates to PHP takes it to the next level in= anything but the complexity scale. Not having them is not preventing anyb= ody from doing anything today. Sure, a bunch of frameworks would adopt the= m once they become available - but it will not enable them to do things tha= t are radically different from what they're doing today. And the fact that you fail to see it is why you don't see any advantages, b= ut that's because you are likely unfamiliar with most recent tooling around= static introspection. Saying that a given feature will not take PHP to the next level is not at a= ll the same as saying I don't see any advantages. I did not say the latter= , and I stand behind the former. As I said, I'm sure frameworks would use = it and there are obviously some valid use cases for it, but it won't change= the way the vast majority of people develop code. Forget for a minute whe= ther we should or shouldn't add it - this is not a make or break feature fo= r PHP. Zeev --_000_013CEBAF7B064237B57A3582800A7771zendcom_--