Wordpress 2.0.11
[autoinstalls/wordpress.git] / wp-includes / gettext.php
index cd080444ca0b782a1ec803145f165c815867400e..ed94ca9ee702969c87acde568144ef3cc73845ed 100644 (file)
@@ -63,10 +63,12 @@ class gettext_reader {
   function readint() {
       if ($this->BYTEORDER == 0) {
         // low endian
-        return array_shift(unpack('V', $this->STREAM->read(4)));
+        $low_end = unpack('V', $this->STREAM->read(4));
+        return array_shift($low_end);
       } else {
         // big endian
-        return array_shift(unpack('N', $this->STREAM->read(4)));
+        $big_end = unpack('N', $this->STREAM->read(4));
+        return array_shift($big_end);
       }
     }