PHP magic constants are predefined constants, which change based on their use. They start with a double underscore (__) and end with a double underscore (__).