Regarding PHP Split
<p>Can anyone explain me this code  split("[ ]+", $s);
thanks</p>

<pre><code> $s = "Split this sentence by spaces";
$words = split("[ ]+", $s);
print_r($words);

Output:
Array
(
    [0] =&gt; Split
    [1] =&gt; this
    [2] =&gt; sentence
    [3] =&gt; by
    [4] =&gt; spaces
)
</code></pre>
