Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75996 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60277 invoked from network); 24 Jul 2014 08:46:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2014 08:46:56 -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 Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.48 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.48 mail-qa0-f48.google.com Received: from [209.85.216.48] ([209.85.216.48:37632] helo=mail-qa0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/00-58899-FF7C0D35 for ; Thu, 24 Jul 2014 04:46:56 -0400 Received: by mail-qa0-f48.google.com with SMTP id m5so2573242qaj.35 for ; Thu, 24 Jul 2014 01:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DAwoXBFod8Kg56aWuy4NuDtFOvq4jJvzagiTwnhh8nM=; b=FapFrLsH2moN44/oKjtPS7wfX0Ouyy4wXPRv9yhwJmmKs/YazGHH1zOOt+5Q3VYUn3 2Ib0v36UMUm1uLpC39QsdsbSCpnCoKnaNLQKmBLaOTLLalwHDyhuG7FEDRG/7zlTIGYI 1jzBtqdXbwaxqnO2qhJ+7BAy7C7Tws1R2KuZovf5KH7ReE0iWoXGqnbokZs0USTMyULU wyoMdNePAkeQ3hGs79sViV+LlQ8gQmaqJbyw7mtUYUz9/5HtnYwV3yd53jnSB05e8zTa H8sK9e1Ls3DVldQFQ5gNDnHBhp2DHBsUWpmUGMYpMjpdouNvjjZJMax05rk7vNM+mei9 ikUQ== MIME-Version: 1.0 X-Received: by 10.224.43.196 with SMTP id x4mr9915979qae.63.1406191616283; Thu, 24 Jul 2014 01:46:56 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Thu, 24 Jul 2014 01:46:56 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Thu, 24 Jul 2014 01:46:56 -0700 (PDT) In-Reply-To: <1914924.AS6fu4y4Km@rofl> References: <08503591-EFC8-48E6-984E-FFC292C5EA5F@ajf.me> <1914924.AS6fu4y4Km@rofl> Date: Thu, 24 Jul 2014 10:46:56 +0200 Message-ID: To: Patrick Schaaf Cc: Andrea Faulds , PHP internals Content-Type: multipart/alternative; boundary=047d7bdc875ec6582e04feec7f5a Subject: Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) From: pierre.php@gmail.com (Pierre Joye) --047d7bdc875ec6582e04feec7f5a Content-Type: text/plain; charset=UTF-8 On Jul 24, 2014 10:34 AM, "Patrick Schaaf" wrote: > > > The argument saying that it is not the PHP way is somehow incorrect > > > here, given that we already do that for classe. The type jungling > > > makes sense in implementations, as it always was but argument passing > > > and validation have been a source of pain since very long. I could > > > imagine one exception with the "numeric" type, which could accept > > > anything and got converted to integer/numeric values, like "1235ab" or > > > other weird things. > > > > Personal opinion of a nonvoter, just for the record :) > > > > The fact that roughly everybody in the strict-and-validation camp in the recent discussions, adds in a different view on "with the exception of", very very strongly suggests that the strict-and-validation POV is wrong wrong wrong. > I wrote "I could imagine" not "I want or prefer" the numeric one. To me being strict is what I would like to see. --047d7bdc875ec6582e04feec7f5a--