Inspectopedia Help

Undefined constant

Reports the references to constants that are not found in the project files, configured include paths, or among the PHP predefined constants.

Inspection options

Option

Type

Default

PHP 8.0 Severity

Dropdown

Error

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023