1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 20:53:00 +02:00
Files
archived-php-src/ext/json/tests
Eddie Kohler 104876dd8e json_encode: Escape U+2028 and U+2029 more often.
These characters are illegal in Javascript, so leaving them unescaped
is risky. The default encoder ($flags = 0) is fine, but the encoder
with JSON_UNESCAPED_UNICODE flag is not.

In case anyone wants the ability to leave these characters unescaped,
provide JSON_UNESCAPED_LINE_TERMINATORS.
2016-01-22 19:40:58 +00:00
..
2015-11-15 19:06:09 +00:00
2012-07-01 16:38:26 +02:00
2012-07-01 16:38:26 +02:00
2015-11-15 19:06:09 +00:00
2015-11-15 19:06:09 +00:00
2012-07-01 16:38:26 +02:00
2012-07-01 16:38:26 +02:00
2012-07-01 16:38:26 +02:00
2015-06-28 18:09:10 +01:00
2012-07-01 16:38:26 +02:00
2014-05-05 01:00:59 +02:00