title: PHP: Seperate a number to 10er array with a minimum and maximum value
body: <p>I do not know how to form this the right way so here is the concept.</p>
  
  <p>I have for example the <strong>93.5</strong> and <strong>35</strong> as numbers. </p>
  
  <p>What i would like to do is to get from the minimum value the previous 10er number, in this case the 30 and get from the maximum value the next 10er number which in this case is 100. </p>
  
  <p>The next step is to get an array from each 10er number between those two numbers. It would look like this: </p>
  
  <pre><code>array(8 items)
     0 =&gt; 30 
     1 =&gt; 40 
     2 =&gt; 50 
     3 =&gt; 60 
     4 =&gt; 70 
     5 =&gt; 80 
     6 =&gt; 90 
     7 =&gt; 100 
  </code></pre>
  
  <p>So the question is, how do i achieve that with PHP</p>