What does LIBXML_NOENT do (and why isn't it called LIBXML_ENT)?
问题 In PHP, one can pass optional arguments to various XML parsers, one of them being LIBXML_NOENT . The documentation has this to say about it: LIBXML_NOENT (integer) Substitute entities Substitute entities isn't very informative (what entities? when are they substituted?). But I think it's fair to assume that NOENT is short for NO_ENTITIES or NO_EXTERNAL_ENTITIES , so to me it seems to be a fair assumption that this flag disables the parsing of (external) entities. But that is indeed not the