The Wayback Machine - https://web.archive.org/web/20201130094019/https://github.com/AOP-PHP/AOP/issues/67
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

Can't Hook class->method() in call_user_func[_array] which class is defined in extension #67

Open
hemon opened this issue Jul 10, 2013 · 0 comments

Comments

@hemon
Copy link

@hemon hemon commented Jul 10, 2013

i created a test:
https://github.com/hemon/phpio/blob/master/test/redis2.php

class(myredis) is a wrapper class for redis, it has a margic method __call() to call real method defined in class(redis);

WHEN:

  1. class(redis2) is defined in php script, aop can hook it;
  2. class(redis) is defined in phpredis extension, aop CAN'T hook it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.