Answer the question
In order to leave comments, you need to log in
Shaping Zend_AMF_Server response
Hello, %username%!
Task: transfer from php to flex/flash/etc via Zend AMF object $obj
The transfer is made via Zend_AMF_Server. The problem is that flash will not see an object with three array fields, but an object whose field foo is an array, and the fields bar and abc are an Array Reference to foo.
As you can see, in the php code, both fields are created separately and do not refer to each other.
Googling, I found the report framework.zend.com/issues/browse/ZF-7634
It says that the bug was fixed in version 1.10.0
I'm using the latest version (1.11.1), but this database is still present in it .
Has anyone managed to deal with it?
Maybe you need to "configure" Zend_AMF_Server before using it?
<?php
$obj = new stdclass();
$obj->foo = array(1,2,3);
$obj->bar = array(1,2,3);
$obj->abc = array(1,2,3);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question