Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49163 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42376 invoked from network); 29 Jul 2010 07:58:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2010 07:58:12 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:44703] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/E3-21430-294315C4 for ; Thu, 29 Jul 2010 03:58:11 -0400 Received: by bwz11 with SMTP id 11so40134bwz.29 for ; Thu, 29 Jul 2010 00:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=LJnNnvHQ+nxm57K9ZmVqylyatBE7ap+C+uT23oSUCnE=; b=rhfT2Oq8WbnsSevrYw37mvdzgtlSp8fr3IWr+pXW1QQLpS0ke7271qzwJieVzS4rif s+rMj240PgRvyQDJk6EJ7Z4utZcdRAfO+3x5DK8gR50kJT2ZjF3Y6zyVZbQA1N+U2HRi dzIKTMoWOw30M/BK1UNnnsSpO+7WGVtwKz1f4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=KCPvjH+z1+HTRHlFsABoIIe4YUSc4YUeWpzjm3mtPtlFb429VWHx++6Ya/Yn6L3JWv aoprqs99nSKCVZlM3pV7kwgzu8dxt11nVsOdmO+58b6XKXdvY7Yd5QyiKNQqZeEkULgF UodezGD70aUF0TXVEOpmTyR8tCl0xF0Hy0zic= MIME-Version: 1.0 Received: by 10.204.77.212 with SMTP id h20mr8604497bkk.33.1280390287439; Thu, 29 Jul 2010 00:58:07 -0700 (PDT) Sender: tyra3l@gmail.com Received: by 10.204.99.201 with HTTP; Thu, 29 Jul 2010 00:58:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Jul 2010 09:58:07 +0200 X-Google-Sender-Auth: 2nNWBn7wgbaLuc6IxBh925cb5Gc Message-ID: To: Daniel Egeberg Cc: Felipe Pena , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Return type-hint From: info@tyrael.hu (Ferenc Kovacs) >> Hi, I would love this feature. >> But I have some concerns. >> AFAIK you can declare classes with the name int ,scalar, etc. so >> hinting anything else than class names can be ambiguous. >> Or we have to set these keywords as reserved, so nobody could declare >> classes with such names. > > Weren't they already made reserved with the parameter type hinting patch? > As I said: > Maybe this was resolved with the last scalar type hinting patch, which > got merged to the trunk, I don't know. Tyrael