|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80331 Change in error level not listed in Migration guide
Submitted: 2020-11-06 19:13 UTC Modified: 2020-11-06 19:54 UTC
From: php4fan at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 7.4.12 OS: all
Private report: No CVE-ID: None
 [2020-11-06 19:13 UTC] php4fan at gmail dot com
From manual page:

The error level for use of undefined constants was changed from NOTICE to WARNING in PHP 7.

This should be mentioned somewhere at


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-06 19:53 UTC]
-Status: Open +Status: Not a bug
 [2020-11-06 19:53 UTC]
The change from notice to warning was in PHP 7.2, and is present in that migration guide.
 [2020-11-06 19:54 UTC]
Ooh, so close.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Aug 06 04:01:23 2021 UTC