Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52023 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99132 invoked from network); 27 Apr 2011 09:29:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2011 09:29:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=pasthelod@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pasthelod@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pasthelod@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:55460] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/91-20725-202E7BD4 for ; Wed, 27 Apr 2011 05:29:38 -0400 Received: by vwl1 with SMTP id 1so1246858vwl.29 for ; Wed, 27 Apr 2011 02:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=G0vPpVAZQ+26AbSg/cCLrBjrlozR+n3RuAqG6TgotDY=; b=BKc4rvGylBqgjxwUGXSCTttfSFLfoZdyzunwwrz2sufy/0dpBLkPpoNK7/9Q+ufL2z +R3QONgJ7mfo2b0O5CT7ZlTBNKkPyWEd/32XpoRLizcOhxZVHpIefLO721/GmdenlnvU Ub5DTn7lN7A+noKq9/q4XbgBo/zBJUJFw4nMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QQ5eREVOJdfctXeTIY28tkaY0gD3QW9GGDpVquwdDsg+2sl0jVUbgAJTYVGmxgDmil qnpky4BtQ049z3J2kAs7SSgE7HxlXyvRO3swQsjMemt37F2GJamNCNuPr+z69B9bcOUc SdPIdglP9jrqy31xgmKZ6P0fQd4DV9SLq5jLw= MIME-Version: 1.0 Received: by 10.52.181.168 with SMTP id dx8mr2713728vdc.172.1303896575074; Wed, 27 Apr 2011 02:29:35 -0700 (PDT) Received: by 10.52.110.167 with HTTP; Wed, 27 Apr 2011 02:29:35 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Apr 2011 11:29:35 +0200 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Return type-hint From: pasthelod@gmail.com (Pas) On Wed, Apr 27, 2011 at 09:23, Ferenc Kovacs wrote: > On Thu, Jul 29, 2010 at 3:49 AM, Felipe Pena wrote: > >> Hi all, >> I've updated the patch and the RFC that proposes the return type-hint >> implementation (Engine + Reflection). >> The proposed implementation is working just like the last changes in the >> parameter type-hint (in trunk). i.e. working with the "scalar" and >> "numeric" >> pseudo-types. >> >> http://wiki.php.net/rfc/returntypehint >> >> Thoughts? >> >> -- >> Regards, >> Felipe Pena >> > > for the upcoming 5.4 release, I think it would be extremely useful, even > without the scalar stuff. > > Tyrael > Hi, Now that someone else necromanced this thread back to life, may I ask which variant of Type Hinting have emerged from the debate as the candidate for implementation? Also, I seem to remember a variant with both strict and weak type hinting/checking, using parentheses to distinguish behavior. What happened to that, never made it to an RFC? -- Pas