What are some best practices for defining constants in PHP objects, especially within initialization functions?

When defining constants in PHP objects, especially within initialization functions, it is best practice to use the `const` keyword within the class definition. This ensures that the constant is scoped to the class and cannot be changed once it is set. Additionally, it is recommended to define constants with all uppercase letters and underscores to differentiate them from regular class properties.

class MyClass {
    const MAX_USERS = 10;

    public function __construct() {
        // Initialization code here
    }
}