AMF structure
Ever wondered how the AMF:PHP project started, check this page out. If I find the cycles I will try and translate this into some code.