-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
restore_error_handler, typehint #53
Conversation
$this->attemptInstantiationViaUnSerialization($reflectionClass, $serializedString); | ||
|
||
restore_error_handler(); | ||
try { |
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.
Please run the benchmarks before/after the patch as well: adding more try
blocks has an impact here
Before patch
After patch
skipped same data for both tables |
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.
Looks like there's a lot of deviation in the benchmark results, but the values don't deviate too much from the existing ones, so 👍
Thanks @seferov |
minor enhancements:
restore_error_handler
should be called whereset_error_handler
set