Parses file in PO format
Copyright: Copyright (c) 2010, Union of RAD http://union-of-rad.org (http://lithify.me/)
Copyright: Copyright (c) 2014, Fabien Potencier https://github.com/symfony/Translation/blob/master/LICENSE
_readLong() protected ¶
_readLong( resource $stream , boolean $isBigEndian )
Reads an unsigned long from stream respecting endianess.
- resource $stream
- The File being read.
- boolean $isBigEndian
- Whether or not the current platform is Big Endian
parse( resource $resource )
Parses machine object (MO) format, independent of the machine's endian it was created on. Both 32bit and 64bit systems are supported.
- resource $resource
- The file to be parsed.
List of messages extracted from the file
If stream content has an invalid format.