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

Added JSON_PARTIAL_OUTPUT_ON_ERROR to the default json encoding options #1515

Closed
wants to merge 1 commit into from

Commits on Nov 26, 2020

  1. Added JSON_PARTIAL_OUTPUT_ON_ERROR to the default json encoding options

    Especially when monolog logs the exception traces (including arguments) there is a chance one of the arguments would contain recursive references, which `json_encode` by default cannot handle.
    
    `JSON_PARTIAL_OUTPUT_ON_ERROR` option turns those recursive references to `null` instead.
    
    It's available from php 5.5 hence I think should be okay to be added by default.
    zerkms committed Nov 26, 2020
    Configuration menu
    Copy the full SHA
    5541f32 View commit details
    Browse the repository at this point in the history