Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34309 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50089 invoked by uid 1010); 31 Dec 2007 22:33:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50074 invoked from network); 31 Dec 2007 22:33:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Dec 2007 22:33:27 -0000 Authentication-Results: pb1.pair.com header.from=markus@fischer.name; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=markus@fischer.name; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fischer.name from 213.46.255.22 cause and error) X-PHP-List-Original-Sender: markus@fischer.name X-Host-Fingerprint: 213.46.255.22 viefep18-int.chello.at Solaris 10 (beta) Received: from [213.46.255.22] ([213.46.255.22:9104] helo=viefep18-int.chello.at) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/90-43572-63E69774 for ; Mon, 31 Dec 2007 17:33:26 -0500 Received: from edge.upc.biz ([192.168.13.239]) by viefep18-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071231223323.BDZB1072.viefep18-int.chello.at@edge.upc.biz>; Mon, 31 Dec 2007 23:33:23 +0100 Received: from genuine.home ([84.112.136.139]) by edge.upc.biz with edge04 id XaYJ1Y01q30dqkc0100000; Mon, 31 Dec 2007 23:32:21 +0100 X-SourceIP: 84.112.136.139 Received: from chello084112136139.36.11.vie.surfer.at ([84.112.136.139] helo=[192.168.1.51]) by genuine.home with esmtpa (Exim 4.50) id 1J9T5n-0000y2-7C; Mon, 31 Dec 2007 23:26:44 +0100 Message-ID: <47796E31.7000101@fischer.name> Date: Mon, 31 Dec 2007 23:33:21 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Marcus Boerger CC: Sam Barrow , internals@lists.php.net References: <1198779436.10328.1.camel@sbarrow-desktop> <72119598.20071230185459@marcus-boerger.de> In-Reply-To: <72119598.20071230185459@marcus-boerger.de> X-Enigmail-Version: 0.95.5 OpenPGP: id=C2272BD0; url=http://markus.fischer.name/my_public_key.txt Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -16 X-Spam-Level: - X-Spam-Report: Spam detection software, running on the system "genuine.home", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: -----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. [...] Content analysis details: (-1.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -3.3 ALL_TRUSTED Did not pass through any untrusted hosts -0.4 BAYES_05 BODY: Bayesian spam probability is 1 to 5% [score: 0.0108] 2.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [84.112.136.139 listed in dnsbl.sorbs.net] 0.1 AWL AWL: From: address is in the auto white-list Subject: Re: [PHP-DEV] Function type hinting From: markus@fischer.name (Markus Fischer) -----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-----