Skip to content

Opcodefy Magical __call/_callStatic #1231

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

Closed
wants to merge 7 commits into from

Conversation

laruence
Copy link
Member

@laruence laruence commented Apr 9, 2015

First this fixed Bug #68412 (Infinite recursion with __call can make the program crash/segfault)

Second this make call to __call/__callStatic faster (48% faster)

There are only two tests fails now:

When call() is invoked via ::, ensure current scope's call() is favoured over the specified class's __call(). [tests/classes/__call_004.phpt]
Bug #50383 (Exceptions thrown in call / callStatic do not include file and line in trace) [Zend/tests/bug50383.phpt]

I think the current behavior in __call_004.phpt is weird.. maybe we should not support it?

and regarding to the sencode fails, it seems to be a expected change.. we could fix the test instead?

thanks

@laruence
Copy link
Member Author

close per #1234

@laruence laruence closed this Apr 10, 2015
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

Successfully merging this pull request may close these issues.

1 participant