mirror of https://github.com/php/php-src
Browse Source
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally 2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough 3) placed additional check to make sure all entities from get_html_translation_table were checked in the testpull/12/head
1 changed files with 13 additions and 9 deletions
Loading…
Reference in new issue