Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28545 invoked from network); 17 Apr 2008 23:17:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2008 23:17:15 -0000 Authentication-Results: pb1.pair.com header.from=jarismar_silva@adplabs.com.br; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jarismar_silva@adplabs.com.br; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adplabs.com.br designates 201.84.224.130 as permitted sender) X-PHP-List-Original-Sender: jarismar_silva@adplabs.com.br X-Host-Fingerprint: 201.84.224.130 mail.adplabs.com.br Linux 2.5 (sometimes 2.4) (4) Received: from [201.84.224.130] ([201.84.224.130:55041] helo=kafe.adplabs.com.br) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/3D-05127-97AD7084 for ; Thu, 17 Apr 2008 19:17:14 -0400 Received: from [10.159.1.169] (jarismar.adplabs.com.br [10.159.1.169]) by kafe.adplabs.com.br (Postfix) with ESMTP id AF3AD1F44B0; Thu, 17 Apr 2008 20:17:04 -0300 (BRT) Message-ID: <4807DA85.7090108@adplabs.com.br> Date: Thu, 17 Apr 2008 20:17:25 -0300 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Derick Rethans CC: Felipe Pena , internals@lists.php.net References: <1208404255.5665.34.camel@pena> In-Reply-To: Content-Type: multipart/alternative; boundary="------------050000040208090301060501" X-ADPLabs-MailScanner-Information: Please contact your ISP for more information X-ADPLabs-MailScanner: Found to be clean X-ADPLabs-MailScanner-From: jarismar_silva@adplabs.com.br X-Spam-Status: No Subject: Re: [PHP-DEV] [RFC] Type hints (parameter and return value) From: jarismar_silva@adplabs.com.br (Jarismar Chaves da Silva) --------------050000040208090301060501 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit +1 Derick Rethans wrote: > On Thu, 17 Apr 2008, Felipe Pena wrote: > > >> Now with both parameter and return value type hints. >> >> For parameter type hints, i have completed the actual implementation >> with the leftover php types: >> - string (binary string and unicode) >> - integer (accepting numeric string too) >> - double (accepting numeric string too) >> - boolean ('0', '1', true, false) >> > > I think that the typehints should be strict, if you don't want > strictness, don't use type hints. > > regards, > Derick > > -- *Jarismar Chaves da Silva, M.Sc.* *ADP**Labs** Brazil * jarismar_silva@adplabs.com.br http://www.adp.com --------------050000040208090301060501--