Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34313 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71411 invoked by uid 1010); 1 Jan 2008 00:25:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71396 invoked from network); 1 Jan 2008 00:25:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jan 2008 00:25:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=sam@sambarrow.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sam@sambarrow.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sambarrow.com from 205.234.132.11 cause and error) X-PHP-List-Original-Sender: sam@sambarrow.com X-Host-Fingerprint: 205.234.132.11 scottsdale.servershost.net Received: from [205.234.132.11] ([205.234.132.11:57348] helo=scottsdale.servershost.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/04-43572-09889774 for ; Mon, 31 Dec 2007 19:25:54 -0500 Received: from [127.0.0.1] (port=54361 helo=sambarrow.com) by scottsdale.servershost.net with esmtpa (Exim 4.68) (envelope-from ) id 1J9Ux7-0005qL-4H; Mon, 31 Dec 2007 18:25:53 -0600 Received: from 69.143.253.33 ([69.143.253.33]) (SquirrelMail authenticated user sam@sambarrow.com) by sambarrow.com with HTTP; Mon, 31 Dec 2007 18:25:53 -0600 (CST) Message-ID: <1433.69.143.253.33.1199147153.squirrel@sambarrow.com> In-Reply-To: <47796E31.7000101@fischer.name> References: <1198779436.10328.1.camel@sbarrow-desktop> <72119598.20071230185459@marcus-boerger.de> <47796E31.7000101@fischer.name> Date: Mon, 31 Dec 2007 18:25:53 -0600 (CST) To: "Markus Fischer" Cc: "Marcus Boerger" , "Sam Barrow" , internals@lists.php.net User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - scottsdale.servershost.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sambarrow.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Function type hinting From: sam@sambarrow.com Are you interested in working together on some patches? I am trying to write a patch for function return value type hinting as well as class property type hinting. Maybe even regular variable type hinting if possible. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > I'm monitoring this subject closely because for me and my inner Zen, > having type hint next to namespaces is one of *the* things I'm looking > forward. > > Now the current subject was only about return values, for me I'm looking > for the big picture, having scalar type hints every where possible. > > I was using Sam's patch for some tests and was very satisfied with. > > Besides type hinting for all types, my only left wish is a more > integrated usage of Exception (UnknownMethod, InvalidArgument, etc.) > > - - Markus > > Marcus Boerger wrote: >> Hello Sam, >> >> we actually thought of doing it, yes. And apparently I wanted to do >> something but I didn't find any time in the past year to be honest. >> >> marcus >> >> Thursday, December 27, 2007, 7:17:16 PM, you wrote: >> >>> I read that type hinting for function return values was going to be >>> implemented, is this true? If not, is it something that could be >>> implemented if I were to write a patch? >> >> >> >> >> Best regards, >> Marcus >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHeW4x1nS0RcInK9ARAqo+AJkBABGAww7cPP2mwdAMYBf2rIyrXgCfRhR2 > pr1v9Nm3QcAGRBHdXUFT1wc= > =xjjT > -----END PGP SIGNATURE----- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >