zend amf

zend amf on gentoo

1=====

<?PHP ini_set("include_path",ini_get("include_path") . " :library");

require_once "Zend/Amf/Server.php";

require_once "CustomClass.php";

$server=new Zend_Amf_Server();

$server->setClass("CustomClass");

echo($server->handle());

?>

2=====

如果报错'ReflectionClass' not found

emerge -av php 查看reflection选项。

你可能感兴趣的:(PHP,Zend)