Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37068 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32137 invoked from network); 17 Apr 2008 14:42:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2008 14:42:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.162.178 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.162.178 el-out-1112.google.com Received: from [209.85.162.178] ([209.85.162.178:28096] helo=el-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 36/95-05127-9E167084 for ; Thu, 17 Apr 2008 10:42:49 -0400 Received: by el-out-1112.google.com with SMTP id m34so46527ele.13 for ; Thu, 17 Apr 2008 07:42:47 -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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=OK4pGtunHN46f5AtQpNYwSh9AepXEnKiZO694Kg8U2s=; b=EzeZIeWsA27lpOP4+1MtPl3PGrlGCWqespzihPnKLR06YNc/rVBDBDjMJDUKD+xR7aYUoDQyjGTb68t11/yzS+5DlqTAZ5CWyjwjRJKFm1Np2gxXBIHISti515IK7WTZk9HmO/LKe/Wm4AzJ+9qRIBXJN2pXUEbOa8JWBb4t9AI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=geJaZu3UiOnGTe40zbR++72Oh/xTmAF50KSz4mW+g4hVtEHpg+eQU7D24luqWEIh5EU8N3sfQ1dp8Qma+cqZ2P+xdTwpWdBco+nkROqLum5pg9ybYypp5tT4poL8qOYiOsxWz13d+lqMTcw1uG0wCuNHfTEc5U8C+HcEfAiKCy0= Received: by 10.114.151.13 with SMTP id y13mr1499238wad.134.1208443366374; Thu, 17 Apr 2008 07:42:46 -0700 (PDT) Received: by 10.115.23.13 with HTTP; Thu, 17 Apr 2008 07:42:46 -0700 (PDT) Message-ID: <46ccd1ab0804170742g142ed562t4f03339da549a820@mail.gmail.com> Date: Thu, 17 Apr 2008 11:42:46 -0300 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [RFC] Strict type hints (parameter and return value) From: felipensp@gmail.com ("Felipe Pena") Hi. Well, thinking better about the behavior of type hinting, i decided to change the proposal for strict type. I.e. don't accept numeric string as an intenger, etc. If anyone wants use type hinting, i believe that it should be strict. Otherwise, it makes more sense to not use it. Examples, patches and tests: http://wiki.php.net/rfc/typehint -- Regards, Felipe Pena.