php-src/ext/json
DanielEScherzer 53cb89670c
Generated arginfo header files: remove empty zend_function_entry arrays (#15705)
When a class (or enum) has no methods, rather than using an array that only
contains `ZEND_FE_END`, use `NULL` for the functions. The implementation of
class registration for internal classes, `do_register_internal_class()` in
zend_API.c, already skips classes where the functions are `NULL`. By removing
these unneeded arrays, we can reduce the size of the header files, while also
removing an unneeded call to zend_register_functions() for each internal class
with no extra methods.
2024-09-03 23:19:53 +02:00
..
tests Introduce Zend guard recursion protection 2023-08-24 13:03:14 +01:00
config.m4 Autotools: Normalize headers arguments (#15149) 2024-07-29 10:08:17 +02:00
config.w32 Sync headers installation 2024-01-28 19:50:55 +01:00
CREDITS Initial import of jsond 2014-11-13 20:20:46 +00:00
json_arginfo.h Generated arginfo header files: remove empty zend_function_entry arrays (#15705) 2024-09-03 23:19:53 +02:00
json_encoder.c Lazy objects 2024-08-30 17:30:03 +02:00
json_parser.y Fix strict prototypes warnings 2023-02-17 15:14:30 +01:00
json_scanner.re ext/json: Fix sign conversion warnings 2024-06-08 17:15:01 +01:00
json.c Trim trailing whitespace (#14721) 2024-06-29 18:41:45 +02:00
json.stub.php RFC - json_validate() (#9399) 2022-10-08 09:21:59 -04:00
Makefile.frag Define default RE2C_FLAGS (#14615) 2024-06-24 22:09:04 +02:00
Makefile.frag.w32 Define default RE2C_FLAGS (#14615) 2024-06-24 22:09:04 +02:00
php_json_encoder.h Fix -Wenum-int-mismatch warning in ext/json/php_json_encoder.h 2023-05-14 22:10:23 +02:00
php_json_parser.h RFC - json_validate() (#9399) 2022-10-08 09:21:59 -04:00
php_json_scanner.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_json.h Merge branch 'PHP-8.2' 2023-05-13 18:54:16 +01:00