ZF-9945: Zend_Amf serializer generates NOTICE for Zend_Db objects


When serializing some Zend_Db objects, the Zend_Amf_Value_Messaging_AcknowledgeMessage object representing that class throws the following error

Notice: Indirect modification of overloaded property Model_Census::$age has no effect in C:\Program Files\Zend\ZendServer\share\ZendFramework\library\Zend\Amf\Parse\Amf3\Serializer.php on line 494

Silencing the line or setting the error_reporting level to zero obviously work, but IIRC code is not supposed to show warnings.


No comments to display