final public function readInt32BE()
    {
        if ($this->isLittleEndian()) {
            return $this->fromInt32(strrev($this->read(4)));
        } else {
            return $this->fromInt32($this->read(4));
        }
    }
final public function readInt32BE()
    {
        if ($this->isLittleEndian()) {
            return $this->fromInt32(strrev($this->read(4)));
        } else {
            return $this->fromInt32($this->read(4));
        }
    }
final public function readInt32BE ( ) { if ( $ this -> isLittleEndian ( ) ) { return $ this -> fromInt32 ( strrev ( $ this -> read ( 4 ) ) ) ; } else { return $ this -> fromInt32 ( $ this -> read ( 4 ) ) ; } }
Reads 4 bytes from the stream and returns big-endian ordered binary data
as signed 32-bit integer.

@return integer
@throws InvalidStreamException if an I/O error occurs
Reads 4 bytes from the stream and returns big - endian ordered binary data as signed 32 - bit integer .