Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125160 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id E494D1A00D1 for ; Fri, 23 Aug 2024 18:21:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724437415; bh=esB8elvDPk6G6YosuVAJ/jhc04w2cVGbyrq2feJZHLA=; h=References:In-Reply-To:From:Date:Subject:To:From; b=Evm9O0f+z2b7OVIiSXheBWrH5eC1njv1/Do5Q8eqe8GN9cAsKcUAALrRjOb8ssVqt dZn/qaB7DF+6mRrqBheY4jueHfuK+XoQfdx8ALI187mw29A/A7SkodDUMVtkcq8LUB QDMghe4e3beFmX5U2CSaKtJgZ4XDee2umjq8qRD55sCnpqtsoFWeWUZxquSPbBP6yb uyfjE36VuU/lHGjsa8PxKbYqt4DAa7ZI+xBh/g0B7EIQ1cSYNWvz04kHRx8T3xYuXL QCPIpinQEbHECBCWICrRk9nBEKJZrocWkC6xGTGZRtRWo8SDSGf7MxwCuNlHzJFLH2 tG4ojUG/thSMQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6E15C18038B for ; Fri, 23 Aug 2024 18:23:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 23 Aug 2024 18:23:31 +0000 (UTC) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-44fe28eb1bfso12473861cf.0 for ; Fri, 23 Aug 2024 11:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724437299; x=1725042099; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=esB8elvDPk6G6YosuVAJ/jhc04w2cVGbyrq2feJZHLA=; b=O3KwHICggVJhDe3MzRchH+z5/lh/VvBVezggdVAY+FfSXx5WwXTAnwe36tzWDuF1Qt xIn4dogTiQqFZ+acEBHb2jhDmPDNGDxSXyy7Pe5vSDkP3I+U3jZkxhSV4eoJf06XQLeG iCXj+d3ZvfKC+YO3Eb8YWujT1ie+ug3cHLeOxCA0I52uBFDuPQ21unWRJjeSHT7YxzSc /AG15fgb6xSDXatqkVwB3xNzAIJb0w5rmVbddmxjpsZxVeigWypa9sLBU54IwmEm9JR4 rb7S1CyL1AlWdDJ9V0G/TRh7FEfKrb6mSd6b9M2n3JaI4SC55U5P+q1tW3Rt4bTzx9+c 62Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724437299; x=1725042099; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=esB8elvDPk6G6YosuVAJ/jhc04w2cVGbyrq2feJZHLA=; b=R8YBV+nG/l/IEDXnW18jqVEcjfUw/jmNYSIL+bhViKGBisMbQ34mWCENaKEb0bwJtk Or/SUDd19yUlHNTRR2SGXCp2Zpx1YzLi07snbnvttWro8rTELavU0LZqlzo26HoK8qJ0 AZ534KtpkaLR9O/Bi90sRderxkik7M3lMuIco40bF/jcckjkzQZLP2ec0WslrZO0OLVU YUulLymXu15PAHFYXY5jWorciq77T26HszFPECeVNayua06DhVfHnGynIwP0n4NIS4c6 QRzu698vIV0qTqvK9F61JDk23RDrcDbY0w3QtBMlgvzlOR58zI9DoX6aB9tn9+WUPiWS Lewg== X-Gm-Message-State: AOJu0YzzIVuC2rWTfDv7UOm+sVYnZo9MT/tu33E6qdFbtIvTidDqoJbL oOAaRS4stvCXblnN1GPgDP8NWXTTZshM4diYNX6QiguRhF/jla4ga/lfmKnqQ9qXztbGbNsuG7X 6X9AR6CnbMVAC7Oh2+qVP5ScsvaHaDh2VzHI= X-Google-Smtp-Source: AGHT+IGxPnTNSznzGsRqjRhE7qA5FpB40IyeXIKRr0zbAXkJHWFLuGXONU8QJod6hJi4L/TehCQ1q2Rc/uIQbG2bPz8= X-Received: by 2002:a05:6214:5544:b0:6bb:9c14:8bbb with SMTP id 6a1803df08f44-6c16deb8e17mr35851026d6.48.1724437299297; Fri, 23 Aug 2024 11:21:39 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 23 Aug 2024 20:21:27 +0200 Message-ID: Subject: Re: [PHP-DEV] [Concept] Flip relative function lookup order (global, then local) To: PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: tovilo.ilija@gmail.com (Ilija Tovilo) On Fri, Aug 23, 2024 at 8:19=E2=80=AFPM John Coggeshall wrote: > > 1. People who don't think BC is a problem, and would like to drop > either the global or local lookup entirely, requiring disambiguation. > > There is also an option of swapping the priority, making local lookups se= condary to global lookups -- and to override that behavior you would requir= e disambiguation. It doesn't have to mean drop the lookup entirely. Right, that's my proposal. My point was that few (nobody except you and me, I believe) showed particular excitement for this approach.