Skip to content

Commit c47ec88

Browse files
committed
[DomCrawler] Warn users of older PHP versions Crawler might not decode html entities properly.
1 parent 3ebe1b2 commit c47ec88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/dom_crawler.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ and :phpclass:`DOMNode` objects:
231231
$html = $crawler->html();
232232

233233
The ``html`` method is new in Symfony 2.3.
234+
In PHP < 5.3.6 it might return html entities which are not properly decoded.
234235

235236
Links
236237
~~~~~

0 commit comments

Comments
 (0)