mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
MFH: add ZEND_DEBUG_BUILD constant
This commit is contained in:
@@ -142,6 +142,12 @@ void zend_register_standard_constants(TSRMLS_D)
|
||||
c.value.value.lval = ZTS_V;
|
||||
c.value.type = IS_BOOL;
|
||||
zend_register_constant(&c TSRMLS_CC);
|
||||
|
||||
c.name = zend_strndup(ZEND_STRL("ZEND_DEBUG_BUILD"));
|
||||
c.name_len = sizeof("ZEND_DEBUG_BUILD");
|
||||
c.value.value.lval = ZEND_DEBUG;
|
||||
c.value.type = IS_BOOL;
|
||||
zend_register_constant(&c TSRMLS_CC);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user