Exemplo n.º 1
0
 private function __construct()
 {
     if (function_exists('mb_ereg_replace')) {
         mb_regex_encoding('UTF-8');
         mb_internal_encoding('UTF-8');
     }
     self::echoAdmin();
     ini_set('precision', 15);
     //We need at least 20 for correct precision if json is using a bigInt ids
     //But 15 has the best precision, using higher precision adds fantasy numbers to the end, but creates also errors in rounding
     ini_set('serialize_precision', 16);
     if (JVM_VERSION < 3) {
         self::$mType = 'info';
     } else {
         self::$mType = 'notice';
     }
 }