-
Notifications
You must be signed in to change notification settings - Fork 179
Update object handlers #123
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
Update object handlers #123
Conversation
Updating the PHP 5 part with PHP 7 docs doesn't make sense. The object section would likely need a from scratch rewrite for PHP 7, because things changed a lot in that area. |
@nikic I only noticed that this was in the PHP 5 section after. Should I copy the whole chapter to the 7 section and remove anything that's no longer accurate? Does it make sense to keep the two versions around? |
dce8477
to
243bdeb
Compare
243bdeb
to
ef7414f
Compare
@nikic I copied the handler descriptions to the PHP 7/8 section and removed anything else that might be outdated. There were also some handlers missing which I added. Let me know if this looks good to you. Could you grant me edit access to this repository? I won't merge anything without creating an PR first except for minor non-technical things like typos. |
This is just the internal way of implementing the ``Countable::count`` method. The function returns a | ||
``zend_result`` and assigns the value to the ``zend_long *count`` pointer. | ||
|
||
.. FIXME: Change return type of count_elements to zend_result to make it more obvious the count is not returned? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
This file only exists for the PHP 5 part of the book, I wonder if it's time to merge those and just make
master
match the currentmaster
version of php-src itself.