POMO_Reader::__construct()

In this article

PHP5 constructor.

Source

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;
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.