Making WordPress.org

Changeset 3960


Ignore:
Timestamp:
09/05/2016 06:17:07 PM (8 years ago)
Author:
iandunn
Message:

WordCamp Logger: Decode JSON objects into associative arrays to avoid errors

The JSON spec allows object keys to have control characters, but PHP doesn't. Trying to print_r() an object with control characters in keys will result in a fatal error:

Fatal error: Cannot access property started with '\0'

See https://bugs.php.net/bug.php?id=68546

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.