mirror of
https://github.com/php/php-src.git
synced 2026-04-11 18:13:00 +02:00
Small fixes.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
-------------------------------------------------------------------------------
|
||||
Every extension must define the following functions:
|
||||
|
||||
- xslt_create()
|
||||
- xslt_create()
|
||||
- xslt_set_scheme_handlers()
|
||||
- xslt_set_sax_handlers()
|
||||
- xslt_set_error_handler()
|
||||
|
||||
@@ -437,7 +437,7 @@ PHP_FUNCTION(xslt_set_log)
|
||||
}
|
||||
ZEND_FETCH_RESOURCE(handle, php_xslt *, processor_p, -1, le_xslt_name, le_xslt);
|
||||
|
||||
if (Z_TYPE_PP(logfile) == IS_LONG) {
|
||||
if (Z_TYPE_PP(logfile) == IS_LONG || Z_TYPE_PP(logfile) == IS_BOOL || Z_TYPE_PP(logfile) == IS_DOUBLE) {
|
||||
XSLT_LOG(handle).do_log = Z_LVAL_PP(logfile);
|
||||
RETURN_NULL();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user