From c47ec883dc4369d59dd45dd1109a301e62b7f19f Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Tue, 12 May 2015 17:32:06 +0100 Subject: [PATCH] [DomCrawler] Warn users of older PHP versions Crawler might not decode html entities properly. --- components/dom_crawler.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/components/dom_crawler.rst b/components/dom_crawler.rst index 4a4da289d4f..55b7a55be45 100644 --- a/components/dom_crawler.rst +++ b/components/dom_crawler.rst @@ -231,6 +231,7 @@ and :phpclass:`DOMNode` objects: $html = $crawler->html(); The ``html`` method is new in Symfony 2.3. + In PHP < 5.3.6 it might return html entities which are not properly decoded. Links ~~~~~