. enchant_broker_free and enchant_broker_free_dict, unset the object instead
. ENCHANT_MYSPELL and ENCHANT_ISPELL constants
+- LibXML:
+ . libxml_disable_entity_loader() has been deprecated. As libxml 2.9.0 is now
+ required, external entity loading is guaranteed to be disabled by default,
+ and this function is no longer needed to protect against XXE attacks.
+
- PGSQL / PDO PGSQL:
. The constant PG_VERSION_STR has now the same value as PG_VERSION, and thus
is deprecated.
function libxml_clear_errors(): void {}
+/** @deprecated */
function libxml_disable_entity_loader(bool $disable = true): bool {}
function libxml_set_external_entity_loader(?callable $resolver_function): bool {}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 2d793e5134ea8633c432f03d20c1d8b80a05795b */
+ * Stub hash: ded229511dc2bc3912d35b8055c0fd69420baff0 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_libxml_set_streams_context, 0, 1, IS_VOID, 0)
ZEND_ARG_INFO(0, context)
ZEND_FE(libxml_get_last_error, arginfo_libxml_get_last_error)
ZEND_FE(libxml_get_errors, arginfo_libxml_get_errors)
ZEND_FE(libxml_clear_errors, arginfo_libxml_clear_errors)
- ZEND_FE(libxml_disable_entity_loader, arginfo_libxml_disable_entity_loader)
+ ZEND_DEP_FE(libxml_disable_entity_loader, arginfo_libxml_disable_entity_loader)
ZEND_FE(libxml_set_external_entity_loader, arginfo_libxml_set_external_entity_loader)
ZEND_FE_END
};