Issues

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

Issue Type: Bug Created: 2009-11-03T16:28:59.000+0000 Last Updated: 2012-11-06T19:40:04.000+0000 Status: Open Fix version(s): Reporter: Ondrej Ivanic (ondrej.ivanic) Assignee: Wade Arnold (wadearnold) Tags: - Zend_Amf

  • zf-caretaker-adamlundrigan

Related issues: Attachments:

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts