summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_enum_n_def.h
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2021-03-27 15:19:08 -0400
committerTyson Andre <tysonandre775@hotmail.com>2021-03-27 18:47:54 -0400
commit92aeda524b0b99ab0c861bcba62e5a471ba805e6 (patch)
tree5a9329a1fb10e4d7870acefda4632167d11f8fae /ext/mysqlnd/mysqlnd_enum_n_def.h
parente0e3d9851ae517429d1bfc7eb2df9df917406d2c (diff)
downloadphp-git-92aeda524b0b99ab0c861bcba62e5a471ba805e6.tar.gz
Fix json_encode regression with JSON_PRETTY_PRINT
This makes the json encoding behavior the same as it was prior to the memory optimizations added in f9f8c1c79cac1b03279190e0c5513a51881615f9 (for objects with declared properties) This is based on the code for the unoptimized case below the changes. Buggy output prior to this commit: ``` { "prop":"value"} ``` Correct output: ``` { "prop": "value" } ``` Closes GH-6811
Diffstat (limited to 'ext/mysqlnd/mysqlnd_enum_n_def.h')
0 files changed, 0 insertions, 0 deletions