therealssj
therealssj

Reputation: 153

How to parse .amf files? PHP

I tried amfphp but failed and can not figure out what happend, PHP dies when i try to deserialize it and does not show any fatal error anywhere.

$amf = file_get_contents("file.amf");
$amf2 = new AMFObject($amf);
$deserializer2 = new AMFDeserializer($amf2->rawData); 
$deserializer2->deserialize($amf2); <--- dies here

Any suggestions??

Upvotes: 0

Views: 326

Answers (0)

Related Questions