hello every 1,
I defined a class containing some varibles, and i want to write it to a file just like i did in C language before. But when i exec fwrite($fp,$theobject,sizeof(OBJECT)), I found it write a string "object" to the file assigned by $fp;
how can i do?

Jun Wang