modulus remainder different from java and php
<p>I'm trying to implement two methods in PHP and JAVA that return a common integer and have the same output.</p>

<p>internal parameters match but when it comes to modular division, it fails.</p>

<p>My numbers are stored as int.</p>

<p>In PHP i have this result </p>

<blockquote>
  <p>1192581159 % 100000000 = 85278720</p>
</blockquote>

<p>In Java i have this result</p>

<blockquote>
  <p>1192581159 % 100000000 = 92581159</p>
</blockquote>

<p><strong>LATER_EDIT_WHILE_POSTING_QUESTION</strong> i think 1192581159 is bigger that PHP_MAX_INT , a possible solution is to treat it as a string and apply substrings in order to get correct result from Java</p>
