Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49170 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75329 invoked from network); 29 Jul 2010 12:17:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2010 12:17:33 -0000 Authentication-Results: pb1.pair.com header.from=phpwnd@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=phpwnd@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: phpwnd@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:50389] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 63/C0-06514-C51715C4 for ; Thu, 29 Jul 2010 08:17:33 -0400 Received: by eyh6 with SMTP id 6so77609eyh.29 for ; Thu, 29 Jul 2010 05:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=KmhJ42Wn9OBYxl/w2zqDdr3DXBDZh8X7DDnOfFWt4Bo=; b=dRQHWNCbNdhrwUimIsflmK9PAuarX6+Qi9CqpAP8I8dGeUDt8suk31AS4eknoUKk6S nkTd2SgI0VTyJxdxEUK3XbMGG9cmKNrAt1BgjR2op4YpUaWCWsXS9LuucpL+b/5SZ4HL PJ3P5XMKSCKbLeaOajcSycUUsi0+aqNt+A1Yk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EJjXPYiozPCsKERWKu7DYdes0pNwyDEtzJzKZ9K4b9G1fYkYqResakHKd2h1yNstbw XV1GBsxGVNNe2MPX98S0X19Bi91Y8yTJJsCv+IFd/GNEk6heYVLxXn9zJyurWBc4P6Cr afWxXij/j/jMISkW4HaCRCVtg72u+RcQ/Mo8A= MIME-Version: 1.0 Received: by 10.213.15.197 with SMTP id l5mr9073309eba.78.1280405849929; Thu, 29 Jul 2010 05:17:29 -0700 (PDT) Received: by 10.213.16.138 with HTTP; Thu, 29 Jul 2010 05:17:29 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Jul 2010 14:17:29 +0200 Message-ID: To: Felipe Pena Cc: internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [RFC] Return type-hint From: phpwnd@gmail.com (Josh Davis) On 29 July 2010 13:57, Felipe Pena wrote: > My suggestion (I guess already told it in some mail...) is to > identify the native php type just when it's lowercased (case-sensitive). Alternatively, one could use the full qualified name to refer to the class name, e.g. function expectsScalar(string $str) {} function expectsObject(\string $obj) {} -JD