Curious about serialization, resources, globals and autoloads

4 views
Skip to first unread message

jimisaacs

unread,
Jun 14, 2010, 11:14:30 PM6/14/10
to HipHop for PHP Dev
I just had some questions about hpw hiphop deals with these things.

Does hiphop support serialization, and if so, would the serialized
object's class just need to be pre-compiled with the app?

How does hiphop deal with resources?

Are super globals such as $_GET,$_POST, and $_SERVER accessible like
normal?
How are regular globals dealt with?

How does hiphop deal with class autoloading, does the hiphop compiler
obey the same basic rules as the engine's compiler?

I understand why eval is not supported of course. I am just looking
for the skinny on the other little quirks that php has that no other
compiled language does for various reasons.

I'm sorry if these seem like questions that are useless to answer in
terms of the point of what the compiler is supposed to do. Meaning it
should let you write PHP the way you know, and then just turns it in
to C++. I am just super curious as to how all of this works, and real
itching to try it out with something.
Reply all
Reply to author
Forward
0 new messages