-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #40065 [ErrorHandler] fix handling messages with null bytes from …
…anonymous classes (nicolas-grekas) This PR was merged into the 4.4 branch. Discussion ---------- [ErrorHandler] fix handling messages with null bytes from anonymous classes | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - PHP truncates error messages at null bytes before calling userland error handlers (known behavior in PHP, marked as "won't fix".) This doesn't play well with anonymous classes. This PR works around the issue by getting the message from the stack trace. Commits ------- ac94746 [ErrorHandler] fix handling messages with null bytes from anonymous classes
- Loading branch information
Showing
2 changed files
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters