Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88439 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89298 invoked from network); 23 Sep 2015 14:53:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2015 14:53:08 -0000 Authentication-Results: pb1.pair.com header.from=codekestrel@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=codekestrel@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.212.171 as permitted sender) X-PHP-List-Original-Sender: codekestrel@googlemail.com X-Host-Fingerprint: 209.85.212.171 mail-wi0-f171.google.com Received: from [209.85.212.171] ([209.85.212.171:33989] helo=mail-wi0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/00-22435-3DCB2065 for ; Wed, 23 Sep 2015 10:53:08 -0400 Received: by wicfx3 with SMTP id fx3so242433470wic.1 for ; Wed, 23 Sep 2015 07:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=65GlAACQWOg9CYnuA/zpooxwtLZEr7jL0ImLQ4ExEjI=; b=A1pIUXV+ICE1WC9mtzFL1bbe+qgreTdPFXFEBRxcIdDyojKLHswRR0rtUm+8tnKQh7 6OYghTPGSCWXCbWWTYKHewlu3Rc8ff2uLZ5KclUQmRfI5OuZlQ0InWG6SzLxLStub1/E y55XLUF/ULF/1cvteCHM7uSSYbJwvknRFfJxAngBbHml+0MrBepgn0Ry5E3Q22xpoVLd Y9a8aMdyJtn7cJjAopQtFCCcRYtiA07dYErl7rQhAeyfE3QFfVcCs3czC8geBxR3uEk6 vGMvN3gRExeSnGhrILPFXDCBvVod6qFMPXsEmr27gy0rQcN/HSeZmJdIjbU/duBL7kwx kdWQ== MIME-Version: 1.0 X-Received: by 10.194.239.104 with SMTP id vr8mr20032829wjc.72.1443019985245; Wed, 23 Sep 2015 07:53:05 -0700 (PDT) Received: by 10.27.104.197 with HTTP; Wed, 23 Sep 2015 07:53:05 -0700 (PDT) Received: by 10.27.104.197 with HTTP; Wed, 23 Sep 2015 07:53:05 -0700 (PDT) Date: Wed, 23 Sep 2015 15:53:05 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=001a11c1b4949fda5905206b45ca Subject: Implementing Generics, and none scalar default properties. From: codekestrel@googlemail.com (Dominic Grostate) --001a11c1b4949fda5905206b45ca Content-Type: text/plain; charset=UTF-8 A couple of things that would really help me in PHP are generics and the ability to set default values of properties to instances of objects or calls to static methods or functions (expressions in general). I don't know if either of these have experimental implementations already as I couldn't find any, but if it would add some interest I may be willing to tackle the source to help push it forward. Could you please advise me on any fatal barriers that might prevent this being worth while for me. Thank you. Dominic --001a11c1b4949fda5905206b45ca--