I am trying to decode an object sent through sockets from Flash in PHP. I tried using AMFPHP and ZEND_AMF but neither did worked.
Can someone point me to the way of decoding the AMF3 encoded objects in php without using remote functionality of the AMFPHP? Data is send thorough sockets, so I cannot use the remote objects as usually amfphp works.
Please take a look at this - https://github.com/neoxic/php-amf3 - this is a very reliable PHP extension for encoding/decoding AMF3 streams.
@Ivan Dyachenko Thanks for pointing towards SabreAMF Below is the way I successfully decoded and mapped the AMF3 encoded object received from Flex/Flash on sockets
You can use SabreAMF to encode/decode AMF data on PHP.