Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110087 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91953 invoked from network); 8 May 2020 15:08:47 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 May 2020 15:08:47 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F3ACD1804C9 for ; Fri, 8 May 2020 06:44:27 -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=-1.9 required=5.0 tests=BAYES_00,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-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) (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 06:44:27 -0700 (PDT) Received: by mail-vs1-f54.google.com with SMTP id x136so1071682vsx.2 for ; Fri, 08 May 2020 06:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DrZw2xB+1E4bIMKs1NMbuhQsbKJSIQA/cbBknLBfNV8=; b=WotsYBFiYBI2vR+rPPtzM4eqScUwAEmj3Ke/0P8E4hOkpgnTlicwajTzKUhsWlfxwl r4vWZDWNHLJ1iQzFCD3o79ygzFFmj6ylFh9iqjYZcJ1SDag2VI63p+jTE4XzcUZJvPsC w//zVXnkldBtveeLN+uBz+N0ZoDDQATmdE57uJGi6rFqUo5I15YXdSkLVJ/EUFV2pUzv c/dG4cevzRNlCebVMkKDttkCKs/ScbxfnqfcXfWOyxm5aGb5FCRWr6jwomRH9wqsHI+e F7JiQWeFO3g1lSduCeQ6DnPW+tMBiAIqXmdVzDUri01e+mEsrYDH+ZmkFEQvZcrobPXC hzDQ== 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=DrZw2xB+1E4bIMKs1NMbuhQsbKJSIQA/cbBknLBfNV8=; b=Gb3qP8fOqXtv1iX9ruHMpD3qRpYPVuVQQSV3yF4p4xBqw0mPTo1UBton8w0Vg0MjL1 KdGZTbgH+XG+lZPqm6L7ZU39wbSrany0HQ8TK1hEnaiwUjfRFBAekckbw2lYaItnWdyh Lwt/Dk8W0TlItZGEhLN5l9TppokVOgCWsYJ2UKmd8VNDk1zFbKSuhjaf1si/m+GJxUnh jLAD0xu4pBEAZARAM4/3eMHEESxfWe+ifiPCNl3qZXp9JwdRP7MMFihtlsoDmLDIHkpI ebKZ5IlTbt7jiPcKr2r0LtAtaHFLqj3+QYZJXfUnOhlD6/dp8/X8k7BNbcVWIpjqEYpl s5Hw== X-Gm-Message-State: AGi0PuYwOe5gppL7ZPYycBocSpUVanYnodbzeuRWh3/UdP2B6PbDBleb D48JXW4iNPfrJCSL/+0sK15yZcuplFD/ak5G6mDnoOo6suIqHQ== X-Google-Smtp-Source: APiQypJEZ5kqNFNK1SjvDSdA9GgIuqJ6X4/yyMdxowNbxRNfB/n01svUBvWQ5Y/DKQoi2Y3fpK+Fq7lqvr2/WrQGDGs= X-Received: by 2002:a67:2504:: with SMTP id l4mr1918166vsl.228.1588945465938; Fri, 08 May 2020 06:44:25 -0700 (PDT) MIME-Version: 1.0 References: <1C09C0A9-1DA4-4753-8E5A-A739D52DA0B3@newclarity.net> In-Reply-To: <1C09C0A9-1DA4-4753-8E5A-A739D52DA0B3@newclarity.net> Date: Fri, 8 May 2020 14:44:15 +0100 Message-ID: To: Mike Schinkel Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Parameter Blocks (vs. Constructor Property Promotion and Named Parameters) From: Danack@basereality.com (Dan Ackroyd) On Wed, 6 May 2020 at 20:49, Mike Schinkel wrote: > > I am rather concerned about Mike, It's nice that you want to contribute to PHP. But trying to brainstorm ideas over email is not productive. Spending your time helping get the manual more up-to-date would be far more beneficial than throwing out "Hey why don't you try this" comments. > a standard library of PHP-written functionality bundled in a PHAR file that would be included with future implementations of PHP and automatically included by PHP. Anyone who has worked with Java or Go would know that having core functionality separate from the executable would bring in a whole new set of error conditions related to classpath or gopath. And additionally version mismatch problems between the library found, and the language executable being invoked. Additionally, while both strings and arrays in PHP work, how they are implemented leaves something to be desired. For strings, it's the behaviour around character sets/unicode. For arrays, it's a 'having a single data structure for all possible needs' problem. Spending time on a 'standard library' before there have been improvements to strings and/or arrays is unlikely to produce anything of great value. As I said, if you have energy that can be used to make PHP better, I think helping with the manual would be useful https://github.com/php/doc-en Or if you can, getting up to speed with C to work on bugs would also be good https://bugs.php.net/ But just throwing out ideas is not a productive use of your time and distracts people from more useful conversations. cheers Dan Ack