Menu
← Back to all error identifiers
Error Identifiers: magicConstant.*
There are 4 error identifiers in the magicConstant.* group:
-
Magic constant __CLASS__ used outside of a class always returns empty string.
-
Magic constant __FUNCTION__ or __METHOD__ used outside of a function.
-
Magic constant __NAMESPACE__ used outside of a namespace returns empty string.
-
Magic constant __TRAIT__ used outside of a trait returns empty string.