mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
289bb339c9
Json use an utf8 parser from a third party library, switch to our implementation of php_next_utf8_char. This also helps on solving #63520. All the unit tests succeed. Our implementation also seems a little faster. json.dsp need to be regenerated.
12 lines
307 B
JavaScript
12 lines
307 B
JavaScript
// $Id$
|
|
// vim:ft=javascript
|
|
|
|
ARG_ENABLE("json", "JavaScript Object Serialization support", "yes");
|
|
|
|
if (PHP_JSON != "no") {
|
|
EXTENSION('json', 'json.c', PHP_JSON_SHARED, "");
|
|
ADD_SOURCES(configure_module_dirname, "JSON_parser.c utf8_decode.c", "json");
|
|
PHP_INSTALL_HEADERS("ext/json/", "php_json.h");
|
|
}
|
|
|