str_split без переноса слов

Я ищу самое быстрое решениедля строки на части без .

$strText = "The quick brown fox jumps over the lazy dog";

$arrSplit = str_split($strText, 12);

// result: array("The quick br","own fox jump","s over the l","azy dog");
// better: array("The quick","brown fox","jumps over the","lazy dog");

6
задан mate64 29 April 2016 в 10:27
поделиться