Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40217 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39746 invoked from network); 2 Sep 2008 17:50:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2008 17:50:11 -0000 Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:37970] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/15-33714-FCC7DB84 for ; Tue, 02 Sep 2008 13:50:08 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Kaa0x-0004HO-4a for internals@lists.php.net; Tue, 02 Sep 2008 17:50:03 +0000 Received: from random-four-twenty-nine.mit.edu ([18.243.6.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2008 17:50:03 +0000 Received: from edwardzyang by random-four-twenty-nine.mit.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2008 17:50:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Tue, 02 Sep 2008 13:40:57 -0400 Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: random-four-twenty-nine.mit.edu User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Sender: news Subject: Cases in which loadHTML doesn't exit From: edwardzyang@thewritingpot.com ("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_ENABLED, and are there any known bugs with regards to its display? Thanks, Edward