PHP三个常用工具

oolog - Simple log class 


使用方法

include "class_oolog.php";

$l=& new oolog("oolog_test.log", FILE | SCREEN |CLEAR |APPEND);

$l->log("only file", FILE, false, __LINE__);

$l->closelog();


dBug - Simple debug class 

使用方法

include_once("dBug.php"); 

new dBug($myVariable);


XML_Serializer

备份Class数据成XML,用于单元测试