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;
why?
how can i do?

Thanks
Jun Wang