Duplicate: http://stackoverflow.com/questions/840807/wondering-how-to-do-php-explode-over-every-other-word strong>
$string = "This is my test case for an example."
Ben dayalı patlayabilir yaparsanız ' '
Ben bir olsun
Array('This','is','my','test','case','for','an','example.');
İstediğim her alanı için patlayabilir olduğunu.
Ben şu çıkışı arıyorum:
Array(
[0] => Array (
[0] => This is
[1] => is my
[2] => my test
[3] => test case
[4] => case for
[5] => for example.
)
yani temelde her 2 ifadeli cümleleri çıkılır.
Herkes bir çözüm biliyor??