mirror of
https://github.com/php/php-src.git
synced 2026-04-19 14:01:01 +02:00
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 test
5.3 KiB
5.3 KiB