How to determine the digital divide by 8 is an integer?
<p>How to determine a digital divide by 8 is an integer?</p>

<p>for explain:</p>

<pre><code>32 % 8 = 4, it is an integer.

25 % 8 = 3.125, it is not an integer.
</code></pre>

<p>I need a working code like:</p>

<pre><code>if ($str % 8 == integer){
   // continue working
}
</code></pre>
