Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83465 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79874 invoked from network); 22 Feb 2015 10:41:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2015 10:41:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 209.85.192.176 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 209.85.192.176 mail-pd0-f176.google.com Received: from [209.85.192.176] ([209.85.192.176:43938] helo=mail-pd0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/B0-09723-242B9E45 for ; Sun, 22 Feb 2015 05:41:07 -0500 Received: by pdev10 with SMTP id v10so18436670pde.10 for ; Sun, 22 Feb 2015 02:41:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=eS6/VPmL5CERbgYZBVRs0MxscVUz7e5OsPjEjv/OULM=; b=heyrEvQB0s4pmscmPQVH7yJeQgkeIyfXfe3a1Bx0/1rIWj+gPhYf+PdNlPPynzoaPT NHlOKcYJskYn24pV8SIqAvxZJcUTUdGXQHcT45OHEK2myW6LsPFhSfkJgAMvbFgsFm6V yzjdZnXClqZVI1tER1ZqQ0+A2dxHZmzl3mFul7aJvjQ0bfTkZJPlB8aEjzE7GPlZtm+o OrR4/fZiE9q7a/CZD+WFx6oOR+EHibi3sqzbKBwfOHDkE2LfvYYZfaVnWiTiIw5SXemS lIOpfcnqzLyRDdDCdloSALnEb9vrtkcoBO/USRaD9Ij5E7qAtKXjRRpmcHhXjSNckS9G CyCQ== X-Gm-Message-State: ALoCoQnRsO4cSiuUEB+Dt2jZGJP1WACT3Zr2Pe5A445BW52QgFgsbK9k+dnU5DYSsNG9Dwwf00Hm MIME-Version: 1.0 X-Received: by 10.66.190.163 with SMTP id gr3mr10669185pac.117.1424601664037; Sun, 22 Feb 2015 02:41:04 -0800 (PST) Received: by 10.70.49.100 with HTTP; Sun, 22 Feb 2015 02:41:03 -0800 (PST) X-Originating-IP: [86.159.154.191] In-Reply-To: <54E9B010.1060409@lsces.co.uk> References: <54E9B010.1060409@lsces.co.uk> Date: Sun, 22 Feb 2015 10:41:03 +0000 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7bdc177221baef050faaec33 Subject: Re: [PHP-DEV] Unnecessary extensions ... From: pthreads@pthreads.org (Joe Watkins) --047d7bdc177221baef050faaec33 Content-Type: text/plain; charset=UTF-8 > I see no reason why those who want 'strict' can't have that as a pecl module to replace 'lax' operations. Simple, the most robust implementation is inferior to internal support. Making a call to this: function (int $some, double $other) { } behave as if Zend is strict is quite easy, what is difficult is: class Foo { public function bar(int $some) { } } class Qux extends Foo { public function bar(double $some) { } } Enforcing our current rules is so hard you might as well call it impossible. TL;DR because internal support is much much much better, in every possible way Cheers Joe Even if you managed it, it would not be robust, in any reasonable opinion. On Sun, Feb 22, 2015 at 10:31 AM, Lester Caine wrote: > With the discussion on adding http extension by default and not now > having other key extensions in a normal build I'm looking at what I NEED > and what I can get away without. On the current PHP7 test build I do not > have mysqlnd installed as I don't use mysql, but I can't make the mysql > section available in a second php-fpm instance becuase I can't add > mysqlnd as a shared module. > > Just what is the current state on what is 'required' and what is still > optional. I will return to banging on about breaking up php-src so that > one CAN get away with building individual modules and I see no reason > why those who want 'strict' can't have that as a pecl module to replace > 'lax' operations. > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --047d7bdc177221baef050faaec33--