php array manipulation help
<p>I have an array with words below as an example.</p>

<pre><code>$words = array('hello','world','wad','up','yo','etc');
</code></pre>

<p>what  i want is next array with following by manipulating above </p>

<pre><code>$phrase2 = array('hello world', 'world wad', 'wad up', 'up  yo', 'yo etc');
$phrase3 = array('hello world wad', 'world wad up', 'wad up yo', 'up  yo etc');
$phrase4 = array('hello world wad up', 'world wad up yo', 'wad up yo etc');
$phrase5 = array('hello world wad up yo', 'world wad up yo etc');
</code></pre>

<p>I hope my question is clear.</p>
