title: Using end() with explode() does not work
body: <p>I have a string which will contain a file upload name, for example "image.jpg".
  I'm trying to use the explode function but it's returning an error "explode() expects parameter 2 to be string, array given in..."</p>
  
  <p>I've tried  looking for reasons why and comparing it to how use is instructed on PHP.Net but to no avail.</p>
  
  <pre><code>$upload_extension = end(explode(".", $feature_icon));
  </code></pre>