Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables storage #11

Open
manuel-rubio opened this issue May 1, 2017 · 1 comment
Open

Variables storage #11

manuel-rubio opened this issue May 1, 2017 · 1 comment
Labels
enhancement help wanted We need help here!

Comments

@manuel-rubio
Copy link
Member

manuel-rubio commented May 1, 2017

The original PHP stores the variables and adds a reference to them so, when an object, array or resource is assigned to a new variable, instead of a clone, it's copied a reference to the real data. In this way, the references are easier to handle internally and the weird behaviour for unset is understood better.

At this moment the implementation for unset is not compatible when we use it with objects because we're not destroying the object.

@manuel-rubio
Copy link
Member Author

At this moment I think we need to check if ephp_mem is good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted We need help here!
Projects
None yet
Development

No branches or pull requests

1 participant