title: Split an spliti are deprecated in Php 5.3. How can I replace them?
body: <p>I'm implementing a function that converts float numbers to strings.</p>
  
  <pre><code>function exp2int($exp) {
      list($mantissa, $exponent) = spliti("e", $exp);
      if($exponent=='') return $exp;
      list($int, $dec) = split("\.", $mantissa);
      bcscale (abs($exponent - strlen($dec)));
      return bcmul($mantissa, bcpow("10", $exponent));
  }
  </code></pre>
  
  <p>This is an example:</p>
  
  <pre><code>$n = 2.777777778e-10;
  echo exp2int($n);
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>0.0000000002777777778
  </code></pre>
  
  <p>My server is running Php 5.4, and since <strong>split</strong> and <strong>spliti</strong> are deprecated since Php 5.3, I get these messages:</p>
  
  <pre><code>Deprecated: Function spliti() is deprecated
  Deprecated: Function split() is deprecated
  </code></pre>
  
  <p>How can I replace those functions in my <strong>exp2int</strong> function (without the use of @)? Thanks!</p>