ZF-8186: Zend AMF performance issue

Description

For a typical database time taken to fetch 10000 rows of data using Zend AMF is 39.5 seconds whereas time taken to fetch 10000 rows of data using AMFPHP is 4.2 seconds. (employees_10000 table in the attached employeedb.sql file can be used)

Comments

Fixed with ZF-7493