mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
53cb89670c
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. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
Makefile.frag | ||
Makefile.frag.w32 | ||
pdo_arginfo.h | ||
pdo_dbh_arginfo.h | ||
pdo_dbh.c | ||
pdo_dbh.stub.php | ||
pdo_sql_parser.h | ||
pdo_sql_parser.re | ||
pdo_sqlstate.c | ||
pdo_stmt_arginfo.h | ||
pdo_stmt.c | ||
pdo_stmt.stub.php | ||
pdo.c | ||
pdo.stub.php | ||
php_pdo_driver.h | ||
php_pdo_error.h | ||
php_pdo_int.h | ||
php_pdo.h |