title: Display numbers with ordinal suffix in PHP
body: <p>I want to display numbers as follows</p>
  
  <ul>
  <li>1 as 1st,</li>
  <li>2 as 2nd,</li>
  <li>...,</li>
  <li>150 as 150th.</li>
  </ul>
  
  <p>How should I find the correct ordinal suffix (st, nd, rd or th) for each number in my code?</p>