Use __construct.

This commit is contained in:
Andreas Fischer 2014-06-02 19:18:56 +02:00
parent 68ade659ba
commit 7d9598a21e

View File

@ -250,7 +250,7 @@ class Math_BigInteger
* @return Math_BigInteger * @return Math_BigInteger
* @access public * @access public
*/ */
function Math_BigInteger($x = 0, $base = 10) function __construct($x = 0, $base = 10)
{ {
if ( !defined('MATH_BIGINTEGER_MODE') ) { if ( !defined('MATH_BIGINTEGER_MODE') ) {
switch (true) { switch (true) {