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

Incorrect example of circular references #7

Open
nikic opened this issue Jun 5, 2017 · 0 comments
Open

Incorrect example of circular references #7

nikic opened this issue Jun 5, 2017 · 0 comments

Comments

@nikic
Copy link
Collaborator

nikic commented Jun 5, 2017

From a mail to feedback@: The array example on http://www.phpinternalsbook.com/zvals/memory_management.html#reference-counting-and-copy-on-write is incorrect, because the array will be separated due to copy on write, so that no circular reference is actually created. The example should use either references or objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant