1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00

- Added ZEND_DEBUG_BUILD constant

This commit is contained in:
Jani Taskinen
2007-11-20 16:34:08 +00:00
parent 5be76b1a85
commit 6bbcffdd15
+6
View File
@@ -158,6 +158,12 @@ void zend_register_standard_constants(TSRMLS_D) /* {{{ */
Z_LVAL(c.value) = ZTS_V;
Z_TYPE(c.value) = IS_BOOL;
zend_register_constant(&c TSRMLS_CC);
c.name.s = zend_strndup(ZEND_STRL("ZEND_DEBUG_BUILD"));
c.name_len = sizeof("ZEND_DEBUG_BUILD");
Z_LVAL(c.value) = ZEND_DEBUG;
z_TYPE(c.value) = IS_BOOL;
zend_register_constant(&c TSRMLS_CC);
}
}
/* }}} */