Skip to content

Instantly share code, notes, and snippets.

@samartioli
Created July 11, 2013 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samartioli/5979763 to your computer and use it in GitHub Desktop.
Save samartioli/5979763 to your computer and use it in GitHub Desktop.
In hiphop-php, can I save the state of objects in memory?
With hiphop-php, is it possible to save state across requests without using serialize and unserialize. In other words, put something in memory from one request, and pull it in during another request?
An example of where this would be beneficial, would be in the Bootstrap process in ZEND.
To be able to bootstrap the applciaiton one time before routing, and then save that state, using it over and over again for each subsequent request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment