What are best practices for accessing parent class properties and methods in PHP subclasses?

When working with subclasses in PHP, you may need to access properties and methods from the parent class. To do this, you can use the `parent` keyword followed by `::` to access static properties or methods, or use the `parent` keyword followed by `->` to access non-static properties or methods.

class ParentClass {
    protected $property = 'Parent Property';

    public function parentMethod() {
        return 'Parent Method';
    }
}

class SubClass extends ParentClass {
    public function accessParent() {
        // Accessing parent property
        echo $this->property . "\n";

        // Accessing parent method
        echo parent::parentMethod() . "\n";
    }
}

$sub = new SubClass();
$sub->accessParent();