Re: [PHP-DEV] Cases in which loadHTML doesn't exit

2008-09-02 Thread Edward Z. Yang
Antony Dovgal wrote: > 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. Yep. I did more source diving and this should not be possible. Which means that whoever deployed this PHP (i.e. the ho

Re: [PHP-DEV] Cases in which loadHTML doesn't exit

2008-09-02 Thread Antony Dovgal
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 yo

[PHP-DEV] Cases in which loadHTML doesn't exit

2008-09-02 Thread Edward Z. Yang
I've been debugging a case where a PHP installation doesn't have DOMDocument->loadHTML, but phpinfo reports that HTML is enabled (the normal reason why loadHTML would not be available) and that the API version of 20031129. Is there any other way to check for the compile-time constant LIBXML_HTML_EN