How can PHP4 constructors be updated to adhere to modern object-oriented PHP practices?

PHP4 constructors can be updated to adhere to modern object-oriented PHP practices by converting them to __construct() methods. This is the standard way to define constructors in PHP 5 and above. By using __construct() instead of the class name for constructors, the code will be more readable and maintainable.

class MyClass {
    public function __construct() {
        // Constructor logic here
    }
}