POMO_Reader::__construct()

最后更新于:2021-11-25 22:31:08

POMO_Reader::__construct()

PHP5 constructor.

源文件

文件: gc-includes/pomo/streams.php

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