ZF-8212: object implementing any Iterator interface is not serialised correctly

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; } }

Comments

No comments to display