Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56985 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95789 invoked from network); 21 Dec 2011 17:22:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Dec 2011 17:22:16 -0000 Authentication-Results: pb1.pair.com header.from=will.fitch@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=will.fitch@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.49 as permitted sender) X-PHP-List-Original-Sender: will.fitch@gmail.com X-Host-Fingerprint: 209.85.216.49 mail-qw0-f49.google.com Received: from [209.85.216.49] ([209.85.216.49:48467] helo=mail-qw0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/60-28003-7C512FE4 for ; Wed, 21 Dec 2011 12:22:15 -0500 Received: by qadc14 with SMTP id c14so5185010qad.8 for ; Wed, 21 Dec 2011 09:22:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=ZGBH/0alwdByuGN11K5HTE332RbbR94XiLj7pg1OHk4=; b=TQ0Q+f2TbnVLOWVtfguldXA75UWK1N4YsrUngnV7QcWg5naqH9umPNCf2mtz+okuK0 XT1Yvcs4jWb8eJeXW+xio7cO7xoSNhoAb5q06wG2ey3bGI+kllCQ6gGTp4VyHYXIif8l F5gySsdd49k4pHgW24bA0CvBTKgWmySdFT22g= Received: by 10.224.186.8 with SMTP id cq8mr9538348qab.45.1324488133170; Wed, 21 Dec 2011 09:22:13 -0800 (PST) Received: from [192.168.1.68] ([68.64.144.221]) by mx.google.com with ESMTPS id gg6sm11759836qab.3.2011.12.21.09.22.10 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Dec 2011 09:22:11 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Date: Wed, 21 Dec 2011 12:22:10 -0500 Cc: PHP Developers Mailing List Content-Transfer-Encoding: quoted-printable Message-ID: <2C90FB94-38C4-4270-8C6A-B89304BA8ED8@gmail.com> References: <2095305E-D4E3-4D7E-8218-32EE99688E0C@GMAIL.COM> To: Nikita Popov X-Mailer: Apple Mail (2.1251.1) Subject: Re: [PHP-DEV] Return Type Hinting for Methods RFC From: will.fitch@gmail.com (Will Fitch) Hi Nikita, I didn't add that as it's not yet in production. As soon as things are = finalized and 5.4 is GA, I will gladly add the callable type hint. The = change wouldn't be different from parameter type hinting, and can easily = be added. On Dec 21, 2011, at 12:17 PM, Nikita Popov wrote: > Hi Will! >=20 > One random thought I had while reading the RFC is: What about the > newly introduced callable typehint? Is this missing by intention? I > could well imagine so (because it's hard to check what scope > callability should be checked on), but wanted to be sure on that. >=20 > Nikita >=20 > On Wed, Dec 21, 2011 at 3:09 AM, Will Fitch = wrote: >> Hello All, >>=20 >> I would like to submit https://wiki.php.net/rfc/returntypehint2 into = discussion. A link to the patch for this is provided and can be ran = against the current HEAD. >>=20 >> There is an older entry still in existence, but this patch is = syntactically different. The older entry is located at = https://wiki.php.net/rfc/typechecking and is bundled with parameter, = scalars, etc. >>=20 >> If possible, can someone promote this to the "Under Discussion" = category within https://wiki.php.net/rfc? >>=20 >> -- Will >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >>=20