Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44708 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81903 invoked from network); 4 Jul 2009 19:11:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2009 19:11:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=paul.biggar@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=paul.biggar@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.155 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: paul.biggar@gmail.com X-Host-Fingerprint: 72.14.220.155 fg-out-1718.google.com Received: from [72.14.220.155] ([72.14.220.155:30698] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/AC-06257-C49AF4A4 for ; Sat, 04 Jul 2009 15:11:09 -0400 Received: by fg-out-1718.google.com with SMTP id 13so326838fge.0 for ; Sat, 04 Jul 2009 12:11:06 -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 :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=D17RauyAXmJ3lTNBYwdYs4v61SPd0hZ57G7ctSGkGbs=; b=glpKhrl04RemPT/mmoYB3mYUh2EhzFcxHBKNP8k/Rj4dTfrDjWz8Vti0eMRXH7/tGB 2HPo6tHFFP7Jhdnz10/FYIcXyFGxNnyWMfB1+GqbLUZiCkH4c6xrOPbyl8oWOM+O/1MG 4+0wqmQe/KwzXdJ7YdMgfQ1ER7MRUHWcwx9ec= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=CsZ/FF5YTMCGxXCqKDmiUG0/eeiahojQ9da+WcHtskXZ1OZAX3vbdvm0wS+HpVCQS9 FHSmMzp0OxnOJOv3gdYjan5TXnocRMO5Fept/9UyYFwEesRs2BTUGlwhez9yuIC1oIFq hF5E18lme37vlh+8xnu2JfucTtDXFY8VDlWV4= MIME-Version: 1.0 Received: by 10.86.96.18 with SMTP id t18mr1444524fgb.58.1246734666177; Sat, 04 Jul 2009 12:11:06 -0700 (PDT) In-Reply-To: <9B8C39B7-A5F8-4E61-BD7E-2069E584290D@pooteeweet.org> References: <5A834C9A-6D1B-49B7-88E6-FF047B084AB6@pooteeweet.org> <9B8C39B7-A5F8-4E61-BD7E-2069E584290D@pooteeweet.org> Date: Sat, 4 Jul 2009 20:10:46 +0100 Message-ID: To: Lukas Kahwe Smith Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] weak and strict type checking RFC From: paul.biggar@gmail.com (Paul Biggar) On Sat, Jul 4, 2009 at 7:12 PM, Lukas Kahwe Smith wrote: >> I can't see the difference between your proposal and the conclusion I >> reached yesterday? >> >> (which was that there is a near consensus around strict checks by >> default, with casts allowed with some syntax). > > Well to me it Sounded like you wanted to Rely on Standard Type juggling and > what i am proposing is more strict than that. More over i am Not convinced > that strict should Be the Default. I don't know what you mean by standard type-juggling. Your proposal really does not outline what you want very much, just what you're against. As for strictness, if your proposal suggests that strict typing is the default, I cannot see where. As I see it, each proposal is a very minor variation on the other. My proposal had an extra layer, but it it wasn't well received, so I've withdrawn it. Ilia has a patch now that does what I understand you want, using the (int) syntax, with strict by default. I may be wrong, but I believe the only thing left to argue about is strict versus weak by default. I was originally of the opinion that weak typing should be the default. However, it had barely any support, whereas there was great support for strict by default. Thanks, Paul -- Paul Biggar paul.biggar@gmail.com