-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 Yaf_Dispatcher::setErrorHandler supports closure? #6
Comments
thanks, I will implement it . :) |
hmm, after a quick look, it should works already.... let me check later.. |
I can confirm it works. what do you mean it doesn't works? :) |
Thanks a lot. I reinstalled with github master branch. I restarted apache and tried again closure code. I checked apache error log.
|
suin, maybe you can generator a backtrace ? that will be very helpful to find out what's going wrong :) |
OK, so how can I trace Segmentation fault? |
https://bugs.php.net/bugs-generating-backtrace.php here is some instructions :) |
Thanks. I tried gdb. https://gist.github.com/3479460 |
thanks very much , fixed in trunk |
Thank you very much! Now closure works well. |
No description provided. |
I noticed
Yaf_Dispatcher::setErrorHandler
can't receive closure as a callback.This code works:
However, this code doesn't work
My yaf version is 2.1.18.
The text was updated successfully, but these errors were encountered: