Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98867 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93218 invoked from network); 24 Apr 2017 23:55:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2017 23:55:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 74.125.82.43 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 74.125.82.43 mail-wm0-f43.google.com Received: from [74.125.82.43] ([74.125.82.43:37435] helo=mail-wm0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/A5-36901-0709EF85 for ; Mon, 24 Apr 2017 19:55:29 -0400 Received: by mail-wm0-f43.google.com with SMTP id m123so81702630wma.0 for ; Mon, 24 Apr 2017 16:55:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/wR8KWdCd30fjX/SXdHfQS8Jv/AFr2DfvmoFiXLckUE=; b=NnHd2MuEkONTEatouf+mdFw+PF7eE1BF8s01G3t/sHL4vE7+9ZL1TB7F+CDBxwkuUR a84TAmqyLIJABxJD7OVVfn+6OYjSdoQr6CBm/7vdD5H3Ra5fBCdeBdE5Hyn9jwL4DPjP wrcxU18A8dMDnec3kXj/i5mcEuHnbvIBZhfaAtz+oELpvXQ7cQCyzwlnAtcIE1KefyBr G0ZA0OoFK30/PxxG/PCRWbvjrBxRxg9UqiboqzwBiH0Ry+TJtjh4M2oLo5x/uIG+eHK6 7zDlcNQmTIbGu5yxr02+ZLjK+t1FCJi/FgxcKLTk3MIdOJ9w1EhBXAalf7kBbo15nc7h tioA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/wR8KWdCd30fjX/SXdHfQS8Jv/AFr2DfvmoFiXLckUE=; b=cCUmlldPpy1qMz5T6K8k1zsfzXwGrgxU9qpJNnmBMVLxm7pXli2/D+8GEr+fk1AWDt KBby7/WBRVskO9sl7a/oc2j6mB8n1oCbP4kgxYC3ZwJ4rn5F5tk27wM3M9bhEBilH6hi FqvH2r2Ojyw/7NcgeMvxSXQeC4HnaBSXEhA+chhfBff0pNvKZGDRGlco7/iOtO8cCHTw v7ydcn7ZufpaJLIrQVTCSqiKawUspYZbPcBa4i3FGyEBMxDNX2gWBFEjOhrwi7nqHCmU uE0PUKGatDZCMixBTXvircTitBQuQcmN42is4lx7wQysrfFp1kGS+yaCPidIQWyFpNmR mk3g== X-Gm-Message-State: AN3rC/4VyPQ2BFGNocRUjU1jM2/KWXNeqACSW8pkZ8FRIbTHve+/ATH/ kHn6tsPUzR3WWbzvyAYG+1E/V7RgNw== X-Received: by 10.28.70.129 with SMTP id t123mr11324601wma.98.1493078126239; Mon, 24 Apr 2017 16:55:26 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.223.157.12 with HTTP; Mon, 24 Apr 2017 16:55:25 -0700 (PDT) X-Originating-IP: [50.197.186.161] In-Reply-To: <5280684d-193b-dda8-efc6-903422522d7a@gmail.com> References: <82da5975-aaca-580c-50ae-0b034d14b124@fleshgrinder.com> <5280684d-193b-dda8-efc6-903422522d7a@gmail.com> Date: Mon, 24 Apr 2017 16:55:25 -0700 X-Google-Sender-Auth: 5dxWk2TqsQE-oZtl79dd8gO6mjU Message-ID: To: Stanislav Malyshev Cc: PHP internals , "Colin O'Dell" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Enable strict_types checking for curl_setopt() From: pollita@php.net (Sara Golemon) On Mon, Apr 24, 2017 at 4:09 PM, Stanislav Malyshev wrote: > it's clearly > business logic. Which I have no problem with, but it shouldn't be part > of type system then. > We're certainly arguing semantics at this point. Let's agree that type enforcement is a good thing (which you seemed to say in your first response) and move on to how that's implemented. Why shouldn't we allow the same call-time decision making around strict/weak enforcement to apply to "business logic" type enforcement as it does to argument types? Surely consistency is a good thing as well? -Sara