Zatrzymaj wybuch po określonym indeksie

Jak mogę zatrzymać funkcję eksplodowania po określonym indeksie. Na przykład

    <?php
        $test="The novel Prognosis Negative by Art Vandelay expresses protest against many different things. The story covers a great deal of time and takes the reader through many different places and events, as the author uses several different techniques to really make the reader think. By using a certain type of narrative structure, Vandelay is able to grab the reader’s attention and make the piece much more effective and meaningful, showing how everything happened";

    $result=explode(" ",$test);
    print_r($result);
?>

Co jeśli chcesz użyć tylko pierwszych 10 elementów ($ result [10]) Jak mogę zatrzymać funkcję eksplodowania po wypełnieniu 10 elementów.

Jednym ze sposobów jest przycięcie łańcucha do pierwszych 10 spacji („”)

Czy jest jakiś inny sposób, nie chcę przechowywać pozostałych elementów po limicie w dowolnym miejscu (jak zrobiono przy użyciu parametru ograniczenia dodatniego)?

questionAnswers(2)

yourAnswerToTheQuestion