Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40218 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43614 invoked from network); 2 Sep 2008 17:59:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2008 17:59:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:43625] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/F5-33714-0EE7DB84 for ; Tue, 02 Sep 2008 13:58:59 -0400 Received: from [192.168.1.40] (unknown [91.78.180.238]) by daylessday.org (Postfix) with ESMTP id 8130964016A; Tue, 2 Sep 2008 21:58:51 +0400 (MSD) Message-ID: <48BD7ED0.1080006@daylessday.org> Date: Tue, 02 Sep 2008 21:58:40 +0400 User-Agent: Thunderbird 2.0.0.12 (X11/20071114) MIME-Version: 1.0 To: "Edward Z. Yang" CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Cases in which loadHTML doesn't exit From: tony@daylessday.org (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 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