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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.