I've tried using a method I've seen and editing it to fit my environment.
require_once( 'amfphp/core/amf/app/Gateway.php'); require_once( AMFPHP_BASE . 'amf/io/AMFSerializer.php');
$data = array('message' => 'Hello, world!')
$serializer = new AMFSerializer(); $serializer->writeAmf3Data( $data );
print $serializer->outBuffer;
But nothing seems to work for me. Anyone know how to go about serializing AMF using AMFPHP without the gateway?
With Amfphp 2.2.1 :