Inspectopedia
 
2024.3

Constant name defined with a leading slash

Warning
New
Last modified: 03 December 2024

Reports the define constructs in which the constant's FQN starts with a leading slash. Such constants will not be correctly registered by PHP.