could possibly use the list() language construct instead.
`list($length) = unpack('N', fread($this->fsock, 4));`