POMO_Reader::__construct() WordPress Method
The POMO_Reader::__construct() method is used to construct a new POMO_Reader object. This object can be used to read GNU gettext MO files and convert them to PO files.
POMO_Reader::__construct() #
PHP5 constructor.
Source
File: wp-includes/pomo/streams.php
public function __construct() {
if ( function_exists( 'mb_substr' )
&& ( (int) ini_get( 'mbstring.func_overload' ) & 2 ) // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.mbstring_func_overloadDeprecated
) {
$this->is_overloaded = true;
} else {
$this->is_overloaded = false;
}
$this->_pos = 0;
}
Expand full source codeCollapse full source codeView on TracView on GitHub