zend amf on gentoo
1=====
<?PHP ini_set("include_path",ini_get("include_path") . "[b][color=red]:[/color][/b]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选项。
1=====
<?PHP ini_set("include_path",ini_get("include_path") . "[b][color=red]:[/color][/b]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选项。