AMFReader::readMixedArray()
{} It's a method of the class: AMFReader{}
No Hooks.
Return
Array
.
Usage
$AMFReader = new AMFReader(); $AMFReader->readMixedArray();
Code of AMFReader::readMixedArray() AMFReader::readMixedArray WP 6.0
public function readMixedArray() { // Get highest numerical index - ignored $highestIndex = $this->stream->readLong(); $data = array(); $key = null; while ($key = $this->stream->readUTF()) { if (is_numeric($key)) { $key = (int) $key; } $data[$key] = $this->readData(); } // Mixed array record ends with empty string (0x00 0x00) and 0x09 if (($key == '') && ($this->stream->peekByte() == 0x09)) { // Consume byte $this->stream->readByte(); } return $data; }