Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12780 invoked from network); 20 Apr 2016 20:32:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2016 20:32:49 -0000 Authentication-Results: pb1.pair.com header.from=jesseschalken@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jesseschalken@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.176 as permitted sender) X-PHP-List-Original-Sender: jesseschalken@gmail.com X-Host-Fingerprint: 209.85.213.176 mail-ig0-f176.google.com Received: from [209.85.213.176] ([209.85.213.176:35944] helo=mail-ig0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/D7-14036-077E7175 for ; Wed, 20 Apr 2016 16:32:48 -0400 Received: by mail-ig0-f176.google.com with SMTP id f1so139281749igr.1 for ; Wed, 20 Apr 2016 13:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=B1XfKbeCT0HkRjxNhK7ib3YkYaUoGhF642w/p63Mvlw=; b=uc4pR5eiYGU8j/8YM+wLNRyOgiUxcYtMoRKjLnz+e9smbErfmeGJEnFyovGT2WZPoq yVWhf1IpJ4pCU5dkGe4XqyylVKe9TB/GZblQDpxbeO50E5sqSko7bX/aG5ou8mghZYVY u1jFvIqxsVlGB5qsfa7UmS1sJO+hl6Xp3mH+XO5mUMBX8pM1Q6+dvmG7L10lzNR8cU7K CH5BhKf45xhM6A0+jM3Nko4NpE6rYF6pAHnDQ12vBs+5o0zWLysngNsV1rDRdVEGgOKO 1LonNUYg1coXmrEXvJZhyqgSDsitOgjUD9MswweBCv/bOfkIR0yOvoOISwb4pdzaiX53 NFcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=B1XfKbeCT0HkRjxNhK7ib3YkYaUoGhF642w/p63Mvlw=; b=O/oJgJd3K5U3XUIzYN3nPj1E3/Nz3benKxJU4K5FYpCuo/S/kQlPlTA80ymoY27fLD 6SSt1KB20nQhLGiOh6U3q9fczFBOG1vS4BIE9zGjJlZWV+QNlu9NXVZLYhcUqJ5j/THA Qb/z++SwdR25qOMlY5ONAaHO+reOekGuYks/h4CCYrFXQW7DFbFHIC9+PukNbZJtl2rY tEYQ3pvYSDdfzYel9iX6C6aNtk2iiVvYOXmaC29UfrlzJzg0KefrFGD3w7izMGhf5bXx inW6rLDbgUI1/Z+oYW01tE155fV+eiZEbEG6UzVlNuQV22hSVP6Sl/hzykwCNi5Le5PK YOzw== X-Gm-Message-State: AOPr4FUooGuQBwnXcF0JeB8f+gV6Lu3Z+7fz2aWsA8DElYh/vcHsyaVfCdpEdjQy/GHb22B+Cr6YMtrBOE9Nhw== MIME-Version: 1.0 X-Received: by 10.50.56.114 with SMTP id z18mr5773522igp.44.1461184365011; Wed, 20 Apr 2016 13:32:45 -0700 (PDT) Sender: jesseschalken@gmail.com Received: by 10.79.139.133 with HTTP; Wed, 20 Apr 2016 13:32:44 -0700 (PDT) In-Reply-To: <5717E02C.9030505@gmail.com> References: <5717D70E.5010706@lsces.co.uk> <5717E02C.9030505@gmail.com> Date: Thu, 21 Apr 2016 06:32:44 +1000 X-Google-Sender-Auth: leLbSYIepZ5fA1n_fRiRZa5BuiU Message-ID: To: Stanislav Malyshev Cc: "guilhermeblanco@gmail.com" , internals Content-Type: multipart/alternative; boundary=089e0158b306074d1a0530f07fd7 Subject: Re: [PHP-DEV] Quick sanity check ... From: me@jesseschalken.com (Jesse Schalken) --089e0158b306074d1a0530f07fd7 Content-Type: text/plain; charset=UTF-8 You're blaming humans (devs, testers etc) for a problem which could have been caught automatically (by a strictly enforced type annotation). It follows that you actually *want* writing PHP software to be inefficient, labour intensive and error-prone. On Thu, Apr 21, 2016 at 6:01 AM, Stanislav Malyshev wrote: > Hi! > > > The outcome is easy to grasp. Because it did not crash by a TypeError > > (which would also require the file to be declared as strict), and we lost > > 100k in sales. But PHP does not need more strictness... > > In other words, somebody wrote code that is supposed to only accept ints > but does no checks. Somebody wrote tests that actually don't test > anything. Somebody signed off on code that was not properly designed or > tested to go into production. And the language is to blame. Right. > > -- > Stas Malyshev > smalyshev@gmail.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --089e0158b306074d1a0530f07fd7--