mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
![]() * Don't fiddle with NDEBUG in C code It is way to late to do this in php.h, since assert.h has already been included. Even pushing that down to zend_portability.h may not have the desired effect. Instead we define or undefine NDEBUG as CFLAG, so that it works in all circumstances. As a last resort we fail at build time, if `NDEBUG` is defined when `ZEND_DEBUG` is enabled. We also remove the useless workaround in zend_test to include assert.h again, since that usually won't have any effect anyway. Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com> |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
fiber.c | ||
fiber.h | ||
fiber.stub.php | ||
fiber_arginfo.h | ||
iterators.c | ||
iterators.h | ||
iterators.stub.php | ||
iterators_arginfo.h | ||
object_handlers.c | ||
object_handlers.h | ||
object_handlers.stub.php | ||
object_handlers_arginfo.h | ||
observer.c | ||
observer.h | ||
php_test.h | ||
test.c | ||
test.stub.php | ||
test_arginfo.h | ||
zend_mm_custom_handlers.c | ||
zend_mm_custom_handlers.h |