title: If you explode a string and said string does not contain the delimiter, does explode kick an error?
body: <p>So I'm getting a section of the url with php. This section may or may not have trailing '?' values. So for example : I'm exploding the url : stackoverflow.com/questions and I want to get questions so i do something like <code>explode ('/',$url)</code>. Pretend in this example the url might be as follows : stackoverflow.com/questions?query. I don't want that ending 'query' so I do <code>explode ('?',$questionurl[no.])</code>. However how does explode handle when the string doesn't contain the delimiter? Does it just return the string as it was or does it return false?</p>
  
  <p>I've read through the php document and looked though questions in stack but can't quite seem to find this exact scenario.</p>
  
  <p>I would be able to test this myself however the environment I'm working in is set up to work with drupal. As such it would require quite alot of messing around to be able to test one simple query, I figured it would more useful for all and future parties, here.</p>