"bad version" means that you probably have some PHP error message that is being output. This corrupts your return data.
See www.silexlabs.org/amfphp/documentation/troubleshooting-and-debugging-your-project/ especially What is “NetConnection.Call.BadVersion”?