Zend Framework

object implementing any Iterator interface is not serialised correctly

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.9.5
  • Fix Version/s: None
  • Component/s: Zend_Amf
  • Labels:
    None

Description

Zend_Amf should use in writeObject() method

$propertyNames = array_keys(get_object_vars($object));

to enumerate properties in serialised object instead of

foreach($object as $key => $value) {
if( $key[0] != "_") { $propertyNames[] = $key; }
}

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: