diff options
| author | Pierre Joye <pajoye@php.net> | 2005-12-26 00:54:12 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2005-12-26 00:54:12 +0000 |
| commit | ed3a1b0e96c29e48b6f543fc02f2eb7bc7b9ae37 (patch) | |
| tree | 8e652deee29c4dac7825ba8627b7f591a341a6a5 /ext/xsl/php_xsl.c | |
| parent | b6b4514801c44355f4f24babcdf01a0f6ed79e1a (diff) | |
| download | php-git-ed3a1b0e96c29e48b6f543fc02f2eb7bc7b9ae37.tar.gz | |
- #35805 add LIBXSLT_VERSION, LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION and
LIBEXSLT_DOTTED_VERSION
MFH?
Diffstat (limited to 'ext/xsl/php_xsl.c')
| -rw-r--r-- | ext/xsl/php_xsl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index dd0395e41f..b11188b044 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -169,7 +169,13 @@ PHP_MINIT_FUNCTION(xsl) REGISTER_LONG_CONSTANT("XSL_CLONE_AUTO", 0, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("XSL_CLONE_NEVER", -1, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("XSL_CLONE_ALWAYS", 1, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("LIBXSLT_VERSION", LIBXSLT_VERSION, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("LIBXSLT_DOTTED_VERSION", LIBXSLT_DOTTED_VERSION, CONST_CS | CONST_PERSISTENT); +#if HAVE_XSL_EXSLT + REGISTER_LONG_CONSTANT("LIBEXSLT_VERSION", LIBEXSLT_VERSION, CONST_CS | CONST_PERSISTENT); + REGISTER_STRING_CONSTANT("LIBEXSLT_DOTTED_VERSION", LIBEXSLT_DOTTED_VERSION, CONST_CS | CONST_PERSISTENT); +#endif return SUCCESS; } /* }}} */ |
