Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108252 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 54330 invoked from network); 26 Jan 2020 22:22:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Jan 2020 22:22:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A118F18050B for ; Sun, 26 Jan 2020 12:32:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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: No X-Envelope-From: Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 ; Sun, 26 Jan 2020 12:32:44 -0800 (PST) Received: by mail-wr1-f41.google.com with SMTP id y17so8504858wrh.5 for ; Sun, 26 Jan 2020 12:32:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=S1O426joCU5xZHp7jcz8M+92HidJkxRuE9os58Mc4ww=; b=dP1y4gEWcO+U9jio/Or0MaGfE5zEpfvgCjSbKXQWDCJ83NFHHiEEgJRQk32zBdB4XC 4lSBBnzXJOrv2GLTUMZRr3BeX/IcYWpNXcCEK6no3du2l4w565lwcK7m+/IaUNnqkVfp 5sahTOFVrTs5rXnPJrmLI4YXf8Di5d4xLUGAOgXdeLOedv/3cMhhpHW/Kls7w5Vbw7Qt dtT+eX7cn3Lgmduh+S2vLQ+HbqnLCxWoFhg4U0zQpbTdog4ugERT1003tugxE05SgMuT JZB1Tvfjn/o512EeIh+Tail+jtA5dLUT1ugTnGfE/MPMmhf81LgSOm2oRHChSWu16/Uy BDdA== 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=S1O426joCU5xZHp7jcz8M+92HidJkxRuE9os58Mc4ww=; b=O98MosM7hw+3LLL/8B06hp+fbSBWXIVs5NBLPrWBy+xRY0Niy1RQy/31F50KWMwC8v Q/bLEDY7ZgkvtksABZ/qsVbxj9fS7Q7+0uRZTKopPKPbTqPhCYF8uVZLrfmlWwLIB0ZR 0216p4e5Djz53tkJqnGTxNGRhj+HCfs2jDAJuDtuTEvUa+BDQLxw5B/EOPzUKr7EFQet zkEUkVC8PBkvDG8/CFePBA28VyWKlINKhat4MtjCeCWvhbUjJYWdfyIMlX7fR0iioulU kBc++7TeCqIBBejJU2XgU454y/20kDPdKszdw3pHl8wlR+5Oop6y/PxjElM/v5+IfZNS j59Q== X-Gm-Message-State: APjAAAWmmiMdnwXha+ZALDCgWglA03b526kTlOf/vxIWzX+pKGfeser4 TYoqzXtcetbp2X/nuR5d0l+T0jDi6GY= X-Google-Smtp-Source: APXvYqxpECNdxbcxImiw4FGhwv5V295Z/8y9kePvPleGS65eZdDanA5pXS0TNHJ0VSrdR7IfO0OgQg== X-Received: by 2002:adf:fd87:: with SMTP id d7mr18315896wrr.226.1580070758955; Sun, 26 Jan 2020 12:32:38 -0800 (PST) Received: from [172.20.10.3] (163.235.197.178.dynamic.wless.lssmb00p-cgnat.res.cust.swisscom.ch. [178.197.235.163]) by smtp.gmail.com with ESMTPSA id k8sm17032764wrl.3.2020.01.26.12.32.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Jan 2020 12:32:38 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) In-Reply-To: Date: Sun, 26 Jan 2020 21:32:35 +0100 Cc: Nikita Popov , Nicolas Grekas , Mark Randall , "internals@lists.php.net" Content-Transfer-Encoding: quoted-printable Message-ID: References: To: tyson andre X-Mailer: Apple Mail (2.3608.40.2.2.4) Subject: Re: [PHP-DEV] [RFC] "use global functions/consts" statement From: claude.pache@gmail.com (Claude Pache) Hi, I object to the following proposed behaviour, which is confusing: I think we can do better, following the example of what we have today, = namely: Currently, the following triggers a fatal error: Therefore I suggest that the following be an error: and that you have to explicitly say that you use the current namespace = for that name: =E2=80=94Claude=