Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44891 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56022 invoked from network); 10 Jul 2009 07:42:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2009 07:42:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.220 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.220.220 mail-fx0-f220.google.com Received: from [209.85.220.220] ([209.85.220.220:37936] helo=mail-fx0-f220.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/AC-23850-BE0F65A4 for ; Fri, 10 Jul 2009 03:42:36 -0400 Received: by fxm20 with SMTP id 20so648683fxm.23 for ; Fri, 10 Jul 2009 00:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MRlMg+wacZ4Dm+fvbekPjYgOsvUgHCTCsAnGvtirafA=; b=vneJ25j/nkvUViKRa10P94ha6BfQ4PEDnV8DDW00y00/1skOB8LJmYuUrN3lZlFQRX 0UkDsTv6hhThG1Z+aiW46E+A1YNi0TSw6WwF3gGWgphb7P7aiwFnz/VsRGXWiLCpGYNl AINxYlAHjcLwRN7ZCGUH+DwUm6wfC23mOsrwM= 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:content-transfer-encoding; b=nff9/+omKP+J8wSSVUvi+Mkn4I4Ht2o0PZIh2hedFyFN+9rDjwqr41C6APr1GtyFI4 PpKRaTdLrBLjqQZekr9bBhkaEpGSY2RgR2V5v7RV24hmSc41MdHWUQwJ9+eH4z6QxrxI RoFowFmLQMLau/4j56Q5dnv889PlbTG+yR33k= MIME-Version: 1.0 Received: by 10.86.84.12 with SMTP id h12mr756486fgb.21.1247211752468; Fri, 10 Jul 2009 00:42:32 -0700 (PDT) In-Reply-To: <7.0.1.0.2.20090708224156.0ac5a438@zend.com> References: <7.0.1.0.2.20090708224156.0ac5a438@zend.com> Date: Fri, 10 Jul 2009 09:42:32 +0200 Message-ID: To: Zeev Suraski Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Type hinting - Request for Discussion From: pierre.php@gmail.com (Pierre Joye) hi, I'm still in favour of #2 (Ilia's patch) as I don't see a real benefit of a weak typing implementation, it defeats the main goal of this addition. I'm also still opposed to add such thing in 5.3.x. Cheers, On Thu, Jul 9, 2009 at 9:47 AM, Zeev Suraski wrote: > 2. =A0Move forward with the semantics of the current patch. =A0This appro= ach has > substantial drawbacks in my opinion, and is a strong misfit with the rest= of > PHP (again, in my opinion). =A0See previous posts from Stas, Rasmus, myse= lf > and maybe others illustrating this point. =A0Lukas's 'Strict and Weak Typ= ing > RFC' (http://wiki.php.net/rfc/typecheckingstrictandweak) has some good > insight as to why strict typing is problematic in PHP. --=20 Pierre http://blog.thepimp.net | http://www.libgd.org