title: How to extract random substrings from a string in php?
body: <p>I would like to extract random substrings form a string, how could I do this?</p>
  
  <p>Lets say I have this text</p>
  
  <p><code>
  $text = "Some totally random text I have, and I want to work on it! But need 
             some php skillz...";
  </code></p>
  
  <p>and as a result I want an array like this with extracted substrings</p>
  
  <pre><code>$random_string[0] = "random text I have";
  
  $random_string[1] = "I have, and I want to work";
  
  $random_string[2] = "need some php skillz...";
  </code></pre>