Skip to content

Conversation

@BenWoodford
Copy link

The odd UTF8 error or otherwise can cause nothing to output and you have no idea what the error could be. This outputs an error message if the framework failed to encode the json response successfully.

A fallback is also provided for pre-PHP5.5.0 support, as json_last_error_msg() is only in >=5.5

The odd UTF8 error or otherwise can cause nothing to output and you have no idea what the error could be. This outputs an error message if the framework failed to encode the json response successfully.

A fallback is also provided for pre-PHP5.5.0 support, as json_last_error_msg() is only in >=5.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants