mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
MFH: add ZEND_DEBUG_BUILD constant
This commit is contained in:
parent
48878f2ecd
commit
5e123ebef9
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user