How can the PHP manual help clarify the usage of operators -> and :: in class instantiation?

The PHP manual can help clarify the usage of operators -> and :: in class instantiation by providing detailed explanations and examples of when to use each operator. By referring to the manual, developers can understand the differences between accessing instance properties/methods using -> and static properties/methods using ::.

// Using -> to access instance properties/methods
class MyClass {
    public $property = 'value';

    public function method() {
        return 'Hello';
    }
}

$obj = new MyClass();
echo $obj->property; // Output: value
echo $obj->method(); // Output: Hello

// Using :: to access static properties/methods
class MyStaticClass {
    public static $staticProperty = 'static value';

    public static function staticMethod() {
        return 'Static Hello';
    }
}

echo MyStaticClass::$staticProperty; // Output: static value
echo MyStaticClass::staticMethod(); // Output: Static Hello