Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php
2
/**
3
 * Bootstrapping File for phpseclib
4
 *
5
 * @license http://www.opensource.org/licenses/mit-license.html MIT License
6
 */
7
 
8
if (extension_loaded('mbstring')) {
9
    // 2 - MB_OVERLOAD_STRING
10
    if (ini_get('mbstring.func_overload') & 2) {
11
        throw new \UnexpectedValueException(
12
            'Overloading of string functions using mbstring.func_overload ' .
13
            'is not supported by phpseclib.'
14
        );
15
    }
16
}