Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110088 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 2319 invoked from network); 8 May 2020 16:27:29 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 May 2020 16:27:29 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 25A781804C2 for ; Fri, 8 May 2020 08:03:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 8 May 2020 08:03:08 -0700 (PDT) Received: by mail-qk1-f174.google.com with SMTP id k81so1827371qke.5 for ; Fri, 08 May 2020 08:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=auQ7Eb5mNwdapneW9tbdM1jESzJD9GrkuaRsiNUXFys=; b=bWgGww2Gr5m/jEfbzLL2Rpw03qgyzfRqP+SAQBJMeJlIj5d7OYJysZsnEbr2n9S17r N9j0d2M1YTRSMrzNCF0yon46LR6XzTHg7gkAwbvR9d9wsz4TxmDxDXW4lt/8SSCiHdls F7qyqkXb8SH88HIJDf5mAkWfTTT4uXWtG4jf5K5gK+KRsVEXOe5Hh5R2epB+388dux2f V9CZwwpnvqzet5cMoKilmZ7sNHjiiykERWdXqKVuFmVO5bq1gj0UkLmJfXrdUvNR7xQU pASvkU4I2IPj3kmkjLCw+FKA2zH9GDPK9Flz2zov6fjbAQ6O9RUhwS4XPgz9bb6JjdZ7 o2Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=auQ7Eb5mNwdapneW9tbdM1jESzJD9GrkuaRsiNUXFys=; b=Bqx2IkJMYvzlrDn486rXPnJr8+luO6k4WujZ8ScMB5GOQ1xfJUCxOrV3kKlU6ofyli bgwfV/g0s1aG6x4FB3k5budCj6bqyxDtRMnHVTHbEr+ZxVJbZAi8TsTcEeQkBS1t/MG8 HK1u9WeERp8USOWzGetk3nZ3+lZ6U8JxY/mTiSrwlpvkaBFmoDHhC1lgJGKC+jKdoXML cIgicNotArV9ilF0bxwU9s99Zl6zAPHG0AzYPYu9jDXFFjcjL2PcR92HCjcOzSqKEqSb ga8lAVvLMAsEUIWSNMzRViZOwCWD/H2hdd5Eb6D/RVback9PIhUi7j0jxs+uJwzhUttw YUtg== X-Gm-Message-State: AGi0PuZylJ6ByvV3szDjpZAuU2/vymovZ5QDSg1etgPMSf+365rpQSFS /+vMULA92q7qn6Fv8LGrLsT9VU1Tr/LZGg== X-Google-Smtp-Source: APiQypIHdCjYoq5elngBfixdfv+03UCTtrsz9FN+HOR0zH50oNv4NWiAgEIFIiI3sCp9BS2fXvjGnw== X-Received: by 2002:a37:b842:: with SMTP id i63mr3249914qkf.42.1588950187642; Fri, 08 May 2020 08:03:07 -0700 (PDT) Received: from ?IPv6:2601:c0:c680:5cc0:9092:d6ec:b80:b5f5? ([2601:c0:c680:5cc0:9092:d6ec:b80:b5f5]) by smtp.gmail.com with ESMTPSA id v5sm1353179qkg.9.2020.05.08.08.03.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 May 2020 08:03:06 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) In-Reply-To: Date: Fri, 8 May 2020 11:03:04 -0400 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <18136659-F138-46E8-937B-DC63034F18F3@newclarity.net> References: <05D65F68-662F-4AE4-8D84-25B1D4279420@newclarity.net> To: Stanislav Malyshev X-Mailer: Apple Mail (2.3445.104.11) Subject: Re: [PHP-DEV] A Standard PHAR library included with PHP? From: mike@newclarity.net (Mike Schinkel) > On May 7, 2020, at 10:38 PM, Stanislav Malyshev = wrote: >=20 >> One of the primary reasons for many of us =E2=80=94 or at least me = =E2=80=94 to want=20 >> more things in core is not listed above, and that reason is: >>=20 >> - Standardization >=20 > Core and standardization are completely different things. I agree that they can be viewed as two different things. > There are a lot of things in PHP that are being standardized > out of core, and putting something into core just for > standardization is the wrong place to do it. However, it is the defect-standardization of knowing a feature will be = available that motivates my request. While I certainly understand and respect your opinion, your opinion does = not stop me (and likely others) from wanting defecto-standardization. Yes people always want things, but this thing is actually a meta thing = so it is different. This thing could address a wide swath of wants in = the community _and_ minimize the pressure for additions to the C++ based = core. =20 > To me, this feature clearly looks at something that belongs to > userspace, That does not address the objective: defecto-standardization of = always-available functionality. > and magic that it introduces=20 Requiring a `use` statement would be fine. It does not have to be = "magic." =20 The key would be to have the functionality accessible via only PHP code. > but in some kind of module, or even better, IDE. Having to use a specific IDE, to use Composer, or otherwise actively = seek out and download this library also does not address the objective.=20= Please, if you will, take this as user feedback on PHP where a userland = PHP developer is saying the DX (developer experience) would be a lot = better if PHP had a standard library we could assume is always there. > Putting sematic > features like deprecation into runtime is not right, if deprecated = code > got into runtime, putting out a warning each time it is run is = useless. > If nobody looked at these warnings before they got to production, = surely > nobody will look at them after. That is unrelated. I was not addressing deprecation in this thread. -Mike P.S. I forgot to mention Larry Garfield's post on this subject. His post = caused me to think of writing this thread, so here it is: https://externals.io/message/109972#110071w