WordPress.org

Make WordPress Core

Changeset 4554


Ignore:
Timestamp:
11/30/06 07:30:11 (9 years ago)
Author:
ryan
Message:

Can't pass function return to array_shift.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/gettext.php

    r4003 r4554  
    6464      if ($this->BYTEORDER == 0) { 
    6565        // low endian 
    66         return array_shift(unpack('V', $this->STREAM->read(4))); 
     66        $low_end = unpack('V', $this->STREAM->read(4)); 
     67        return array_shift($low_end); 
    6768      } else { 
    6869        // big endian 
    69         return array_shift(unpack('N', $this->STREAM->read(4))); 
     70        $big_end = unpack('N', $this->STREAM->read(4)); 
     71        return array_shift($big_end); 
    7072      } 
    7173    } 
Note: See TracChangeset for help on using the changeset viewer.