Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104002 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 88066 invoked from network); 2 Feb 2019 02:26:39 -0000 Received: from unknown (HELO mail-ot1-f44.google.com) (209.85.210.44) by pb1.pair.com with SMTP; 2 Feb 2019 02:26:39 -0000 Received: by mail-ot1-f44.google.com with SMTP id 32so7439948ota.12 for ; Fri, 01 Feb 2019 15:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4GEqKln9r72/xRLRN+IoVTrdq8rb1rGmUJGHiBVLFXU=; b=NiTAa6+UBgfemmE6LO2xEymwYlA2/QQfwe9o3HVOvfFectFXmkf1+8Cv7VsPcHF6qY IyKBddbQxO0aNyF+sonUADFpwfdbMpP8mn7cBxkMRF0x+KgPqMaDpzEixNSmPTsxrzES /1G1klokHQ1pjileo2/bACXCsVtdmU9cFbiV/uJjUEJfEO6gjX9fJOUlQhPMtzSmHzvQ NvS+bHiz3LXhBYWNH1DGTb1XgxaZy+e2OBhU8qicyK4anNlvyL4FgzKT2N7bsVkoHpcv gWia+1S1AE1lHl0XdruKM6/4hdYoiLXDGqlNLpzoMBjB/TtFNdqeRt6srPHc3o+t7qeC T8eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4GEqKln9r72/xRLRN+IoVTrdq8rb1rGmUJGHiBVLFXU=; b=PB9qZX9wDwKdhBH6zMoG1MHmMh3bTHUxJ60pDbDJ31sAdaRRYufbzmIXESMWzR93+J JsMi560bUGS0Hzznbzg+yCy79CKb37ok9egByZ/o/P5S7i0U8C67ZpjInCugh/UBgYjp TjIwyI+1+Cl3SsBOZ/xVNDgLM3I12qSIuWAugrwSH2054FAjYi/Jnq7UQgozHmJCEw43 /PhiByJvFN/7A9KDlr1sNsborX+96ksj2MoJa3etwXdr9k33sGMeLgFepgCftPBlYJ4L oX8dswOXLm8NqPp2nXJ15h9Yg++ePsCnk94845VXk2bL13Jsf+m3eAgpqZsnKAMHGcvB ATwQ== X-Gm-Message-State: AJcUukdbjVRvwqxEvdJcY8u7L2uDJqcJjEtwc5zUO+mEou2p3i5l2pbO P83q5ccYPHp7i47Y84UuRG1e3fledZdXOgDd8yk= X-Google-Smtp-Source: ALg8bN6oA0dURFF1dBEfqhWL2SY7xeBB2UqR5czQrjUVKKrJ031Yn6prhfE3HytC7rwp8eswqxB5+YqXx5KjaRHnjIA= X-Received: by 2002:a9d:7059:: with SMTP id x25mr31220357otj.35.1549062412889; Fri, 01 Feb 2019 15:06:52 -0800 (PST) MIME-Version: 1.0 References: <7a909cd3-5d0f-8f2e-fba8-009778311bf0@php.net> In-Reply-To: Date: Sat, 2 Feb 2019 00:06:41 +0100 Message-ID: To: Joe Watkins Cc: Sebastian Bergmann , Internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Disable PEAR by default From: peterkokot@gmail.com (Peter Kokot) Hello, On Fri, 1 Feb 2019 at 12:44, Joe Watkins wrote: > > +1 > > On Fri, 1 Feb 2019 at 12:35, Sebastian Bergmann wrote: > > > Am 01.02.2019 um 12:27 schrieb Nikita Popov: > > > I would like to suggest that installation of PEAR is disabled by default > > in > > > PHP 7.4. PR: https://github.com/php/php-src/pull/3781 > > > > +1 Thank you Nikita for the pull request for this. With all the respect to PEAR project and people behind it, maybe the PEAR itself should be added to some sort of recognition page in the manual for their involvement and work on the first installer of PHP code and initial move into code reuse, open source PHP libraries, and all that. As time went forward, Composer took over the role of such installer in PHP community. One of the most problematic issues and a reason for the following questions is that I haven't noticed there has been any major involvement in the past few years or some roadmap created for PEAR (I'm not talking about PEAR packages here, only the PEAR core script). Code itself is legacy and needs almost a complete rewrite. Omitting things like PSR-4 makes coding with it very legacy, that's why it is not recommended anymore. Why is PEAR even part of the php-src? From my understanding, that is because of only one element/script. That is pecl script. For everything else it can be downloaded separately, as is Composer and all other tools needed for the usual daily workflow with PHP. So, Q1: Shouldn't be a much better approach here to deprecate this installation option in PHP 7.4 and remove it completely in PHP 8? Q2: Follow up question, what to do with PECL scrip then? Is in PHP even possible to start a new project such as a pecl command line tool that would offer a replacement for current pecl script? With only disabling installation option, nothing major is done actually, I think but if there is some other plan here that +1 I guess. -- Peter Kokot