Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37233 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23115 invoked from network); 25 Apr 2008 19:08:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2008 19:08:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=jeremy@omegavortex.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jeremy@omegavortex.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain omegavortex.net from 207.210.105.196 cause and error) X-PHP-List-Original-Sender: jeremy@omegavortex.net X-Host-Fingerprint: 207.210.105.196 unknown Linux 2.5 (sometimes 2.4) (4) Received: from [207.210.105.196] ([207.210.105.196:46178] helo=vps.omegavortex.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/1A-18287-02C22184 for ; Fri, 25 Apr 2008 15:08:17 -0400 Received: from adsl-242-22-244.bhm.bellsouth.net ([74.242.22.244] helo=[192.168.1.102]) by vps.omegavortex.net with esmtpa (Exim 4.68) (envelope-from ) id 1JpTHC-0003hp-79; Fri, 25 Apr 2008 15:08:07 -0400 Message-ID: <48122C14.7070705@omegavortex.net> Date: Fri, 25 Apr 2008 14:08:04 -0500 Organization: Omega Vortex Corporation User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Sam Barrow CC: Alain Williams , internals@lists.php.net References: <1209137410.6642.9.camel@sbarrow-desktop> <1209147362.20639.7.camel@sbarrow-desktop> <20080425182341.GB14490@mint.phcomp.co.uk> <1209149047.20639.18.camel@sbarrow-desktop> In-Reply-To: <1209149047.20639.18.camel@sbarrow-desktop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.omegavortex.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - omegavortex.net X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Return type hinting patch From: jeremy@omegavortex.net (Jeremy Privett) Sam Barrow wrote: > I figured it out, the syntax is now as follows: > > function a($b, $c) returns d { > } > > I'll post an update soon. > > > That's certainly a non-intuitive syntax. How about we take a page out of the book of other C-style languages before trying to invent something else? I agree with Stas, "return" and "returns" are not part of a function definition. -- Jeremy Privett C.E.O. & C.S.A. Omega Vortex Corporation http://www.omegavortex.net Please note: This message has been sent with information that could be confidential and meant only for the intended recipient. If you are not the intended recipient, please delete all copies and inform us of the error as soon as possible. Thank you for your cooperation.