title: File extension without dot (period symbol)
body: <p><strong>My code</strong></p>
  
  <pre><code>&lt;?php
      $video_thumb_large = 'some.example-file.name.png'; /** define a file name here **/
      /** The line below is giving me what I need **/
      $video_thumb_extension_large = substr($video_thumb_large, strrpos($video_thumb_large, '.') + 1);
      echo $video_thumb_extension_large; /** Output: png **/
  ?&gt;
  </code></pre>
  
  <p>There are other methods to get the file extension, for example <a href="https://stackoverflow.com/questions/10368217/how-to-get-the-file-extension-in-php">this</a> Stack Overflow question has some answers but my code was not available in the answers.</p>
  
  <p>I'm wondering why my code is good or bad and why or why not to use my code on a production site. What is better to do in this case? I can also use <code>explode()</code> on the dot and use the last part in the <code>array()</code> but is it better?</p>
  
  <p>What would be better or the best to get the file extension <strong>without the dot (.)</strong>?</p>