Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25630 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66076 invoked by uid 1010); 12 Sep 2006 09:41:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 66061 invoked from network); 12 Sep 2006 09:41:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Sep 2006 09:41:01 -0000 Authentication-Results: pb1.pair.com header.from=tslettebo@broadpark.no; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=tslettebo@broadpark.no; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain broadpark.no from 80.203.156.252 cause and error) X-PHP-List-Original-Sender: tslettebo@broadpark.no X-Host-Fingerprint: 80.203.156.252 mail.adstate.net Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [80.203.156.252] ([80.203.156.252:3465] helo=mail.adstate.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/A8-02095-BA086054 for ; Tue, 12 Sep 2006 05:41:00 -0400 Received: from localhost ([127.0.0.1]) by mail.adstate.net; Tue, 12 Sep 2006 11:40:54 +0200 Message-ID: <0a1301c6d64f$8af01c70$a900000a@adstate.local> To: Date: Tue, 12 Sep 2006 11:40:54 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 x-mimeole: Produced By Microsoft MimeOLE V6.00.2800.1807 Subject: Return type hints From: tslettebo@broadpark.no (=?iso-8859-1?Q?Terje_Sletteb=F8?=) Hi again. To something different: I've read [1] that return type hints for functions have been considered for PHP 6, possibly even planned. In [1], it says: "We will add support for type-hinted return values." I've searched the archives, but haven't found much on this since about a year ago. Does anyone have the latest on this? Is it planned, dropped, over somebody's "smoking carcass", ;) or what? I've also tried the latest PHP 6 dev-version, a while ago, but it seems it's not in there, yet, at least. If not dropped, have a syntax for this been agreed on? Regards, Terje [1] http://www.php.net/~derick/meeting-notes.html#type-hinted-properties-and-return-values