-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Convert ext/standard/class_object to HNI #1625
Conversation
I'm having issues with this because git keeps stripping the whitepsace when I |
Also, please don't modify Zend tests -- if you do for some reason, you need to change the import script. |
The Zend test modifications came from running the import script on a recent (last week sometime) pull of PHP-5.5. The only changes I made are also reflected in the import script (some norepo and importing another .inc file) |
I'm seeing some weird interaction with |
*/ | ||
<<__Native>> | ||
function call_user_method_array(string $method_name, | ||
object &$obj, |
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.
mixed
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.
Bah, another one of those? I'm going to make a script that checks the types match.
Something in this pull is causing a consistent performance regression of about 1%. I'm not sure if it is HNI overhead or what, but we probably won't take this until this is resolved. |
Thanks to @jdelong I believe we've identified the source of the regression -- it's not your fault. The FCallBuiltin logic needs to be fixed to support HNI functions first. |
What's the status of this? |
I tried to go through this today and rebasing it is an enormous undertaking. I got it to compile but I think I'm doing some wrong things semantically. I also noticed it was failing some tests in There also seems to be a behavior diff with this. Some of our tests are failing with mocked classes reporting their class as the mocked name instead of the original class. |
Rebased. All quick/, zend/good/Zend and zend/good/ext/standard/tests/class_object/ are passing locally. Relies on #2221 for the checker script to pass. |
This have lots of test failures in class_object still |
Also moves get_called_class() out of function and into this, as that's how the PHP docs groups it.
Part of #1480