Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97137 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97013 invoked from network); 23 Nov 2016 01:42:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2016 01:42:38 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-wm0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:35773] helo=mail-wm0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/B0-26188-B04F4385 for ; Tue, 22 Nov 2016 20:42:37 -0500 Received: by mail-wm0-f42.google.com with SMTP id a197so54727852wmd.0 for ; Tue, 22 Nov 2016 17:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=loBKfGKrCfscPfNkXWX249PqQTyWXGuJEc1+4gkg550=; b=qDyaGsanyoAhopi577RrdeJ0ucRn16FxhyBxvzz84Lbe/wCbJOczTSkNo9Kskx4M7t njrk5UN8/6OJzODVmX32DUDSX5IROa0sVunuxb8OdhNK/PQW2Gdr3fyuW/WVyThUWsdd 0dIFTIR3r7Dr9TxeowRBYB95nMWzAXo9UwL+gbTMOYQGFyWl9pYDzqyOnnWW16a+Yr9o BKN0jH22fXGRXfqN+Z5pbu17MFCstuEvw4Jtmu/J/9Ja63cGNDV+r54ICgQTcI/zrol2 48wIMB0WWG8blVVfNYbEGdJ7KOFxR7GUVr8ek4Kbv0TbiCcu7Of56+7bZcPNz77amDBI 6Ovw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=loBKfGKrCfscPfNkXWX249PqQTyWXGuJEc1+4gkg550=; b=J04fkNJfBFKrKGcm+m8fbLidDIDzqHmj1usb8qeMc5zpwylMzqZUzvc9k4dhLo9HMP XKUrKCJDKAz9Y6vqPSXeGHm1Afy7UhvjoRG2w1uAN4tc+vi/QSf6mNcDusMVYNC3+wvT opIekDT85d2AKDDvcv2UE1vsEzrwmMop5siQYTeCcvSWPvzv4mr1RPoLQdpYl3RjWgup RsQDPWiOqzLndKb2EG/qEaQrx/MHYslNsFm9h6Ox3uvKrxMtFVqClP5RFDhVXtK+1Vqc TbuJpodB8OF6b6ui8nCGROlgrlTuASQoy2dB0PF9zehmO0cMfC//2a/hSShgcqLYiVcC eChQ== X-Gm-Message-State: AKaTC02RlkyH+ajIPnao2BEiA5RA3jarSoRlEhD7bQ7cgJookPpFeuPeP26GUvya9ReND7Owln8ascQNb6AbxQ== X-Received: by 10.28.156.10 with SMTP id f10mr5020036wme.63.1479865353073; Tue, 22 Nov 2016 17:42:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.223.74 with HTTP; Tue, 22 Nov 2016 17:42:32 -0800 (PST) Received: by 10.194.223.74 with HTTP; Tue, 22 Nov 2016 17:42:32 -0800 (PST) In-Reply-To: References: Date: Wed, 23 Nov 2016 02:42:32 +0100 Message-ID: To: Dan Ackroyd Cc: PHP Internals List Content-Type: multipart/alternative; boundary=001a114b4378af7c570541ee00f3 Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Object type hint, now with added variance From: ocramius@gmail.com (Marco Pivetta) --001a114b4378af7c570541ee00f3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This looks awesome to me: nicely cleaned up! =F0=9F=91=8D On 23 Nov 2016 01:52, "Dan Ackroyd" wrote: > Hi, > > This is the reintroduction of the Object Type RFC for discussion. > > There was previously strong feedback from people who would prefer that > the inheritance checks for methods that use object types should be > co/contravariant. This has been added to the RFC. > > https://wiki.php.net/rfc/object-typehint > > cheers > Dan > Ack > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --001a114b4378af7c570541ee00f3--