Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36994 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36605 invoked from network); 14 Apr 2008 03:06:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Apr 2008 03:06:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 209.85.200.172 wf-out-1314.google.com Received: from [209.85.200.172] ([209.85.200.172:52607] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/51-33575-93AC2084 for ; Sun, 13 Apr 2008 23:06:35 -0400 Received: by wf-out-1314.google.com with SMTP id 27so1430541wfd.26 for ; Sun, 13 Apr 2008 20:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=azNs8tj74R+BEP15VXKSughon+HXMz0AJxurY9ijUoE=; b=NqBM0GISLFrCTJNIS6DzWJHbk+P/7FujZWmsNVJSCwmsgcz0VD6sMsmjDUNbUa0iuW+0qs/Rwy6n5G9aPahWqci0+jdT4YgzPFp2BxL0UioEcJNtHQfUn8Gs1ocT+c7o7jw8GL0HQXnq76zu6r/dtcqmNxNIiXdixnUCRqfxcwQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=f1pSc+qVOQ0xwOziLiU/uoPY1Vj4YDG9SO8pvPaj+hXLgP7SlfOjx2udReF2oTzNdTOBZEAVzFvF8PRubnD9PGKa4y9VhE6x5OamidA5/3UokTDkRuywRmQsTW5eKqgTsVd9qNcdTbivW6tb4pZHu5mUTFVK8sRgZEndqUnEclY= Received: by 10.142.126.17 with SMTP id y17mr1641670wfc.170.1208142391141; Sun, 13 Apr 2008 20:06:31 -0700 (PDT) Received: by 10.142.186.20 with HTTP; Sun, 13 Apr 2008 20:06:31 -0700 (PDT) Message-ID: Date: Sun, 13 Apr 2008 20:06:31 -0700 To: internals@lists.php.net In-Reply-To: <37C655F0-D212-420C-9320-7953A69C5EDB@pooteeweet.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3976_5642184.1208142391130" References: <1207539695.5736.42.camel@pena> <8d7b8c130804062157j60871630r6c3b27c4d3245cb9@mail.gmail.com> <1207576676.5331.49.camel@felipe> <47FA507D.2070108@cschneid.com> <5CB53203-F3E5-46F2-89A8-F331B2CB9017@pooteeweet.org> <47FA60F8.7060702@zend.com> <37C655F0-D212-420C-9320-7953A69C5EDB@pooteeweet.org> Subject: Re: [PHP-DEV] Return type hints From: chrisstocktonaz@gmail.com ("Chris Stockton") ------=_Part_3976_5642184.1208142391130 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Why on earth would you have int, string, resource, etc "return type hints" and then turn around and suggest for parameter hinting just add a scalar type? That makes no sense and is so inconsistent. static int function retarded(scalar $value) { return (int) $value; // lol.... } ------=_Part_3976_5642184.1208142391130--