Re: Cases in which loadHTML doesn't exit

From: Date: Tue, 02 Sep 2008 17:58:40 +0000
Subject: Re: Cases in which loadHTML doesn't exit
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-40218@lists.php.net to get a copy of this message
On 02.09.2008 21:40, Edward Z. Yang wrote:
I've been debugging a case where a PHP installation doesn't have DOMDocument->loadHTML, but phpinfo reports that HTML is enabled
Ugh? It's the same #ifdef.
Is there any other way to check for the compile-time constant LIBXML_HTML_ENABLED
What do you mean? Is there a way to do this #ifdef in a different way?
and are there any known bugs with regards to its display?
None that I know of. And even if there are, I don't believe they are on our side, since it's the same #ifdef used in two different places, no chance to get different values. -- Wbr, Antony Dovgal

« previous php.internals (#40218) next »