title: How to cast signed to unsigned int for 32-bit in php
body: <p>I have tried to cast signed int to unsigned int for 32-bit in php. but i could not able to get the absolute value for the unsigned int.  </p>
  
  <p>example:</p>
  
  <pre><code> $value = 65547;
    if (PHP_INT_SIZE == 8)
     {
      if ($value&gt;0x7FFFFFFF)
      {
        $value-=0x100000000;
      }
     }
  </code></pre>
  
  <p>Is any other possibilities to cast signed integer value to unsigned integer value?</p>