Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117329 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 17313 invoked from network); 14 Mar 2022 17:56:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Mar 2022 17:56:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2E1F418050B for ; Mon, 14 Mar 2022 12:21:19 -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.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) (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 ; Mon, 14 Mar 2022 12:21:18 -0700 (PDT) Received: by mail-io1-f51.google.com with SMTP id e22so19550874ioe.11 for ; Mon, 14 Mar 2022 12:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Frgybt0BAd9kUBQPfjG1bMLDpiXUQKyFEpTq3+Ynpyw=; b=ncHFsvMaFmeG2ltqOCj0PIu44Q0MGzt/DXz1YLxlpsXUHAlPx7+nXoVhpKfrHwWweU g8o0hFmGDF0RYbUoJqTzrwmi7ZTbWgxqUdfbg0oTJoB1ZNHa7uMMal1H5C25GHOPE024 U3fOjCR7HI+peKi9eybDY4JshoyYKTao27sjWP7WDjhETvmIM1FqpeZmgdDbIMf6iikR daA0642wp2qws6LWPrYtI2ZQziMJWoC9TkBM5NaVvAhio3BmFAJDVHK58fz8RArv7+mO 6wuJJ2+1xNwUK3iTjmBPtMRFMAga/xiztqGVfjcA5F31TB9OmWiRWj+l/2TvHbm4zL// BXGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Frgybt0BAd9kUBQPfjG1bMLDpiXUQKyFEpTq3+Ynpyw=; b=4zxgweOlqNQQdb3xmQrOMPU/b8nfPfXPOY0uUwgH45VQWGJWo/BzRaBnxyF4oA3YOT lbOWC+8nKJVZrzVb/G8SrTA59mw/c5d6qzcacGaGZSVEeXJYRmOmt5m9pB834jmMBZSI hkOgT5BwWi+LZXmhRHpHJ+AI3UfEG5UPOEN1j2F1r66gp+BYB54J7reokdXo3mmwM3bg fholmTxI70rLA8lRBNssjabuzl1Q8xmBVbjNKQe0TLdmlEwO+Dq0hZzyq6sYlvzkC+Od UHEtgSD9EKs1bTmTKJJAOyQOjH2VaGUgxIxDvPkUdz2ERDiVqqsFWY69siEZFUOE3XVr iBmA== X-Gm-Message-State: AOAM531NY8rfjDBoWW8/1NnhHuQPcxOXN3wsnAQ4qMCMGj/cD0qbFGnf YYX/9th3tFgHK+DKMbKqMF1QfU5QVpojbywhtV0= X-Google-Smtp-Source: ABdhPJxpmyw+fxsXiIchoSfAT6Qo0w2+K+ueP9VitMW3rhMc4BywP61OyO1YtBBsjv8RnUa2ldeIqvXLzvABBGA94Lg= X-Received: by 2002:a05:6638:3893:b0:31a:fa6:4d7e with SMTP id b19-20020a056638389300b0031a0fa64d7emr3130048jav.255.1647285678082; Mon, 14 Mar 2022 12:21:18 -0700 (PDT) MIME-Version: 1.0 References: <20220312031138.5e0669a4@platypus> <5E019DDC-43D8-4676-9AA6-FBEF36A92FEF@newclarity.net> In-Reply-To: <5E019DDC-43D8-4676-9AA6-FBEF36A92FEF@newclarity.net> Date: Mon, 14 Mar 2022 20:20:51 +0100 Message-ID: To: Mike Schinkel Cc: Kamil Tekiela , PHP internals Content-Type: multipart/alternative; boundary="000000000000af8d0605da329534" Subject: Re: [PHP-DEV] [RFC][Under discussion] Deprecate ${} string interpolation From: kjarli@gmail.com (Lynn) --000000000000af8d0605da329534 Content-Type: text/plain; charset="UTF-8" On Mon, Mar 14, 2022 at 8:04 PM Mike Schinkel wrote: > > Variable variables provide functionality[1] that if removed would force > major rewrites of PHP applications that were architected in a way that > depends on that functionality. > And while probably between 90% and 99% of the time when someone uses > variable variables there are better alternatives, variable variables make > certain code possible that would be impossible without them. > Do you have examples where this is the case? Using arrays is a compatible replacement as far as I know, and I highly doubt these kinds of hacks are necessary. --000000000000af8d0605da329534--