Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36862 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71003 invoked from network); 8 Apr 2008 09:02:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Apr 2008 09:02:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 66.249.92.172 ug-out-1314.google.com Received: from [66.249.92.172] ([66.249.92.172:21082] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/88-22202-3B43BF74 for ; Tue, 08 Apr 2008 05:02:44 -0400 Received: by ug-out-1314.google.com with SMTP id u40so705488ugc.29 for ; Tue, 08 Apr 2008 02:02:40 -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:cc:in-reply-to:mime-version:content-type:references; bh=75oCaW++fQpO5q+AaltaWatenk2FoAWVkwKFJq9QJeQ=; b=lQ4wyk3+yU28x/9z6dNCbJPohWFcS6QJdpziqCFY+VjFEtdmSsTRUf308yFuV3MhZl9L3VWpreHgPOEDHJQryzFpNqhsvnjfeBNm5OuvNQQ5T474m6hwGJXZgG+uLGaqDNQQh4Oz7J3+61ckGGP7clo7ACYbtsL8BdmwMPq7IXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=seACfzvQkPh6c+oesaYyIZycVzXPqKbjVaAtX/U3Cwa2mK533IIMdK0WjAjlLuV6QWbt0VYAknhI6N5AEdEUWIVZ0lnZGimKlE/+pAZQ6rEBYRRC0zEDBg9ZZZxyZU55Rylus3ZLa6lTsG/wee2sTZFboYc8MC4lkGBX3pUhclc= Received: by 10.66.240.12 with SMTP id n12mr2855253ugh.9.1207645360792; Tue, 08 Apr 2008 02:02:40 -0700 (PDT) Received: by 10.66.219.9 with HTTP; Tue, 8 Apr 2008 02:02:40 -0700 (PDT) Message-ID: <9b3df6a50804080202n456fc08blfef3e70034d95c1c@mail.gmail.com> Date: Tue, 8 Apr 2008 12:02:40 +0300 To: "Christian Schneider" Cc: RQuadling@googlemail.com, "internals Mailing List" In-Reply-To: <47FA94B2.6050704@cschneid.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10261_16854716.1207645360791" References: <1207539695.5736.42.camel@pena> <8d7b8c130804062157j60871630r6c3b27c4d3245cb9@mail.gmail.com> <1207576676.5331.49.camel@felipe> <47FA507D.2070108@cschneid.com> <10845a340804071346m251eae49j907b4a6ca7c607be@mail.gmail.com> <47FA94B2.6050704@cschneid.com> Subject: Re: [PHP-DEV] Return type hints From: arvids.godjuks@gmail.com ("Arvids Godjuks") ------=_Part_10261_16854716.1207645360791 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I think type hint's would be good optional functionality. Those who need will use it, others will not. I'd probably use it in some cases. Especially if named parameters are implemented. Sometimes what I really want is named parameter pass like function myfunc(array $array, string $string = null, int $someint = 0){ } myfunc($myArray, someint = $mySomeInt); ------=_Part_10261_16854716.1207645360791--