Стоп взорваться после определенного индекса
Как я могу остановить функцию разнесения после определенного индекса. Например
<?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);
?>
Что делать, если вы хотите использовать только первые 10 элементов ($ result [10]) Как я могу остановить функцию разнесения после заполнения 10 элементов.
Один из способов - сначала обрезать строку до первых 10 пробелов ("")
Есть ли другой способ, я не хочу хранить оставшиеся элементы после лимита в любом месте (как это делается с помощью параметра положительного лимита)?