Description

Category: Coding Style

define() is often used with first argument written as a constant, without quote marks. This is incorrect - the first argument of define() should be a regular string, not a constant.

Example

Wrong define(LIFE, 42);
Correct define('LIFE', 42);