title: PHP Bytes 2 DWord
body: <p>I have an array:</p>
  
  <pre><code>$arr[0] = 95
  $arr[1] = 8
  $arr[2] = 0
  $arr[3] = 0
  </code></pre>
  
  <p>That are bytes. I need a DWORD.
  I tried: </p>
  
  <pre><code>$dword = $arr[0]+$arr[1]*265+$arr[2]*265*265+$arr[3]*265*265*265;
  </code></pre>
  
  <p>Is that right or am I doing it wrong?</p>