mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/libxml: libxml_set_external_entity_loader() always returns true
This commit is contained in:
@@ -182,6 +182,6 @@ function libxml_clear_errors(): void {}
|
||||
#[\Deprecated(since: '8.0', message: 'as external entity loading is disabled by default')]
|
||||
function libxml_disable_entity_loader(bool $disable = true): bool {}
|
||||
|
||||
function libxml_set_external_entity_loader(?callable $resolver_function): bool {}
|
||||
function libxml_set_external_entity_loader(?callable $resolver_function): true {}
|
||||
|
||||
function libxml_get_external_entity_loader(): ?callable {}
|
||||
|
||||
4
ext/libxml/libxml_arginfo.h
generated
4
ext/libxml/libxml_arginfo.h
generated
@@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: e0d2498c10cba72adb97504fd13e178e090de2cd */
|
||||
* Stub hash: 6dceb619736a3de55b84609a9e3aeb13405bbfde */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_libxml_set_streams_context, 0, 1, IS_VOID, 0)
|
||||
ZEND_ARG_INFO(0, context)
|
||||
@@ -22,7 +22,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_libxml_disable_entity_loader, 0,
|
||||
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, disable, _IS_BOOL, 0, "true")
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_libxml_set_external_entity_loader, 0, 1, _IS_BOOL, 0)
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_libxml_set_external_entity_loader, 0, 1, IS_TRUE, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, resolver_function, IS_CALLABLE, 1)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user