Run »
name = $name; } function get_name() { return $this->name; } } $apple = new Fruit(); var_dump($apple instanceof Fruit); ?>
bool(true)