libxml_disable_entity_loader
(PHP 5 >= 5.2.11, PHP 7)
libxml_disable_entity_loader — Disable the ability to load external entities
说明
libxml_disable_entity_loader ([
bool
$disable
= TRUE
] ) :
bool
Disable/enable the ability to load external entities.
参数
返回值
Returns the previous value.
参见
- libxml_use_internal_errors() - Disable libxml errors and allow user to fetch error information as needed
- The
LIBXML_NONET
constant