Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99428 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12338 invoked from network); 7 Jun 2017 13:53:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2017 13:53:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.192.175 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.192.175 mail-pf0-f175.google.com Received: from [209.85.192.175] ([209.85.192.175:33843] helo=mail-pf0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/BB-27119-D4508395 for ; Wed, 07 Jun 2017 09:53:19 -0400 Received: by mail-pf0-f175.google.com with SMTP id 9so5962407pfj.1 for ; Wed, 07 Jun 2017 06:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=X4I+F9F+q4cG3b8I+Q8ru5I3KjTwk2V+ilxAa/sQ0fQ=; b=CNiDorpQ18S4wis/HCMplKtNp5FlKHODJLJAerDjxZ4Rwt9NKlq+7iojF7cKIfQ9UB yKt7mimjYwaQ5FbU9bAeHNhf2tggp7cwFxiBRzRBG/d1Ju3Js1aqEbqIvIzGe7HgbGDG IBq7bkcpFBYuVBszwTP00lb0aaDUuZZWLgk5hlTPiFxd0mv9eQz+enbY8d+0ImIyomcY otnaSNMJ8Ds5cFanC4h7P2Bug0H05agHWO12q0dn42jjuet9ueXeg5MJUYqPPHqCxWr3 TW2C08aIKpRmoyXuof1pjeNP2q00YJp+GtK/ksSw/2ijs+7XN9B/9v1dneQMCEgkDhK0 Pztg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=X4I+F9F+q4cG3b8I+Q8ru5I3KjTwk2V+ilxAa/sQ0fQ=; b=l9EjBhg08WTv4LZASFfRmUuv3hNK5A2Zs5yRmFyFGjoozewv9EQZz8kU5QVaEuS1SG GYiX3q7D0d6oJx6i3Pw/5d2M7mFvMB4A2I5IK+BES2oMyRl3T6UpDOHZho3KV2uGro7S bWw7MpAxpjgLOKt7NPM5YQUUKYty1fW+CJZa1+gsTOeTYQSGeKiyQiTYBhXq8/qcFaav Y4gf1xuYIfcJC2UE3wUjW0hprFxg4VnH+4t5BWyG7wFhAO+sVCeCHt9x7N7Y9j6rbrpW 3vgCwzurtpaT/kyEIwtlup1ic7MAuyglTQSLa8zPBK2gPMhPQ8+Mzgp1hyrK1eXz4Q6G sp0w== X-Gm-Message-State: AODbwcBa6ENL2zu+nbsU8O5sr2YKXaIJdJPXiFxck7+VKa6ygqymkACo s/AI+9itfCYw2q60aBxVN9wUsar2BDSiwwVMRA== X-Received: by 10.84.241.77 with SMTP id u13mr28002839plm.28.1496843593574; Wed, 07 Jun 2017 06:53:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.168.4 with HTTP; Wed, 7 Jun 2017 06:53:13 -0700 (PDT) X-Originating-IP: [81.143.203.71] In-Reply-To: <523cbe62-d237-955a-e11f-87abaacbb816@tekwire.net> References: <5313411f-40b4-58c6-83a8-7e813526f2a7@tekwire.net> <523cbe62-d237-955a-e11f-87abaacbb816@tekwire.net> Date: Wed, 7 Jun 2017 14:53:13 +0100 Message-ID: To: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= Cc: "internals@lists.php.net" Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] About PCS (was : Proposing inclusion of PCS in the 7.2 core distribution) From: danack@basereality.com (Dan Ackroyd) Hi Francois, I'm in favour of shipping PHP code as part of either PHP core, and for extensions. I would use this for Imagick. There are several 'helper' functions that would make this library easier to use, that are trivial to write in PHP, that are incredibly not trivial to write in C. > Please give examples of core extensions that, in your opinion, are susceptible to be partially or fully converted to PHP. Uh - I don't really agree that any existing core code should be converted to PHP. If the code is already there and working as C code, there are very few benefits converting it to PHP now. If we ever get around to refactoring how strings are stored in PHP, it's at that point that converting existing functionality to PHP code might be a good idea. > Suggestions to complement existing core extensions (like an additional curl OO layer) are welcome too. If you want this RFC to pass, I'd strongly recommend having conversations about adding those as separate RFCs, once the "having PHP code distributed with PHP" RFC is passed as otherwise the signal-to-noise ratios will be terrible. cheers Dan Ack