I have the same problem in gettext.php on line 66,
Yes, it runs on PHP 5 – which sees it as expression, not as a variable.
This seems to fix it in PHP5:
/**
* Reads a 32bit Integer from the Stream
*
* @access private
* @return Integer from the Stream
*/
function readint() {
if ($this->BYTEORDER == 0) {
// low endian
$promenna_v=’V’;
$prom_pom = unpack($promenna_v, $this->STREAM->read(4));
return array_shift($prom_pom);
} else {
// big endian
$promenna_n=’N’;
$prom_pom = unpack($promenna_n, $this->STREAM->read(4));
return array_shift($prom_pom);
}
}