Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ErrorHandler] fix setting $trace to null in FatalError #36993

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

Merged
merged 1 commit into from
May 28, 2020

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Spotted by @nikic in php/php-src#5620 (comment)

@derrabus
Copy link
Member

derrabus commented May 28, 2020

That'll work, but since it's the second time that we have special handling for $trace === null here, I'd suggest to deal with this case at the very beginning of the method.

edit: Nevermind, $trace = null in fact does something else than $trace = [].

@nicolas-grekas nicolas-grekas merged commit 0d2bc7b into symfony:4.4 May 28, 2020
@nicolas-grekas nicolas-grekas deleted the eh-trace-fix branch May 28, 2020 12:24
This was referenced May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.