Metin patlayabilir ancak üç kelime olarak, her dizi parça dönen

0 Cevap

I'm getting troubles on a simple php function! What i want to do is:

$text = "this is my data content with many words on it";

Ben böyle bir dizi olarak değişken string $ metin döner bir fonksiyon yazmak istiyorum:

$array = array("this is my", "data content with", "many words on", "it");

Diğer bir deyişle, her bir dizi parça üzerinde 3 kelime olmalıdır!

0 Cevap