Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107218 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 52665 invoked from network); 18 Sep 2019 22:06:46 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 18 Sep 2019 22:06:46 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 3D08F2D205C for ; Wed, 18 Sep 2019 12:44:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: X-Spam-Virus: No Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Wed, 18 Sep 2019 12:44:14 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id p10so1078055edq.1 for ; Wed, 18 Sep 2019 12:44:14 -0700 (PDT) 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=/grA+dan6xfiHtt1aPhLgo8QKnj9tR4CTJRIxohPJ/U=; b=CRtzIMAtiSZ5gVWqDfUCL0jWZj66GPGkAVWd2pnnFtcbOvEuVFGY0cH2UOoU3N6H9F /iSO8FOWN0ZvCjFujGPzcsyed7n+0T9Cq4jc1qCIQWxBabLARkavxwlF/ewz9l6fRqXj GI0phxtxanlrgi8vIcWd7lKGqxRiMfVqBO1WXYs9QVERBQqUQcA+EZ6C5FXMoAY2eiU2 u/H1ksfdofHCYDG6IiklMWH7m12a61vl1EbwwVPMgzc9fyvtkoPgxSAZBrJy4yRtVA2R HCQZmDNkP010eoUfIT4NLAZe1992hp2uoJK2zP0wbdn/VvmM8uGxAMVlqo2wOgVI3YoP mBAg== 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=/grA+dan6xfiHtt1aPhLgo8QKnj9tR4CTJRIxohPJ/U=; b=jjwa4XKj0/EUQvYU5fiKC9UAaR0pGIIk0TwbsG5mpf+qaYTsmrMjPa0JOF8jj5Uu08 aWM4NxdengTtRe5pYJDQiwX3xoxJKCua3+XUreNhFQWtaJtwKNluLcK6WTw5EOqsS6ah A1ifyTr0vxzPxgHpCMm2+zsCFqy6OgWW9whANn0QPZmH+NuGw7Q5289LZ6ebMlGk6sig EZf1OCXy6dMWDeFXy3B0YkxBzXtrZis0Wpswv7OyCbYUtTJIaVnAfpZm/wHOKxhg7Pmn x0XIKCYSudDuQax2Z4rtX0aGz4i0U5QIDPfCmATu6jUnVUn3K4u/Pe8MW7RmNAYjtG+A 9HEw== X-Gm-Message-State: APjAAAUVbeNa6U0uceqjsSlIHQILNPCC3MTXfWuoUawChvRVGZJAcAHr F0M4z/MPwPDiZ8whdjuUgSI= X-Google-Smtp-Source: APXvYqxNFRchMSroqxC0PmEDs8bjsd15GmnQrRhhG3ct5RLR7+aTJiJvelln3k8Kqetl+2/0NEB/3Q== X-Received: by 2002:aa7:c759:: with SMTP id c25mr12151367eds.15.1568835853694; Wed, 18 Sep 2019 12:44:13 -0700 (PDT) Received: from [192.168.0.63] (84-75-30-51.dclient.hispeed.ch. [84.75.30.51]) by smtp.gmail.com with ESMTPSA id t4sm1198384edq.35.2019.09.18.12.44.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Sep 2019 12:44:12 -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: Wed, 18 Sep 2019 21:44:11 +0200 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <1BB4FA3E-23F6-45CB-9B8F-8DA3C497981D@gmail.com> References: To: Nikita Popov X-Mailer: Apple Mail (2.3445.104.11) X-Envelope-From: Subject: Re: [PHP-DEV] [VOTE] Reclassifying engine warnings From: claude.pache@gmail.com (Claude Pache) > Le 18 sept. 2019 =C3=A0 18:28, Nikita Popov a = =C3=A9crit : >=20 > I just realized that I missed one notice here, because it is generated = from > a different location: "Constant %s already defined" (The define/const = will > be ignored and the previous value used.) >=20 > It would be great to have that as an exception for optimization = reasons, > but as it's only a notice right now ... what do people think about > promoting it to a warning? >=20 > Nikita Since attempting to define an already defined constant fails to perform = the expected operation (i.e., defining the constant to *that* value), I = think that a Warning is very reasonable. =E2=80=94Claude=