> Le 18 sept. 2019 à 18:28, Nikita Popov <nikita....@gmail.com> a écrit : > > 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.) > > 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? > > 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. —Claude -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP-DEV] [VOTE] Reclassifying engine warnings Nikita Popov
- Re: [PHP-DEV] [VOTE] Reclassifying engine w... Olumide Samson
- Re: [PHP-DEV] [VOTE] Reclassifying engi... Chase Peeler
- Re: [PHP-DEV] [VOTE] Reclassifying ... Olumide Samson
- Re: [PHP-DEV] [VOTE] Reclassify... Chase Peeler
- [PHP-DEV] Re: [VOTE] Reclassifying engine w... Nikita Popov
- Re: [PHP-DEV] Re: [VOTE] Reclassifying ... guilhermebla...@gmail.com
- Re: [PHP-DEV] Re: [VOTE] Reclassify... Nikita Popov
- Re: [PHP-DEV] Re: [VOTE] Reclas... Chase Peeler
- Re: [PHP-DEV] [VOTE] Reclassifying engi... Claude Pache
- Re: [PHP-DEV] [VOTE] Reclassifying ... Björn Larsson
- [PHP-DEV] Re: [VOTE] Reclassifying engine w... Nikita Popov
- Re: [PHP-DEV] [VOTE] Reclassifying engi... Christian Schneider
- Re: [PHP-DEV] [VOTE] Reclassifying ... Chase Peeler
- Re: [PHP-DEV] Re: [VOTE] Reclassifying ... Peter Cowburn
- Re: [PHP-DEV] Re: [VOTE] Reclassify... Rowan Tommins
- [PHP-DEV] Re: [VOTE] Reclassifying engi... Nikita Popov
- Re: [PHP-DEV] Re: [VOTE] Reclassify... Sara Golemon
- Re: [PHP-DEV] Re: [VOTE] Reclas... Bishop Bettini
- Re: [PHP-DEV] Re: [VOTE] Reclassify... Zeev Suraski