Hello, another of few tests that are failing for me. The cause seem to be encoding of the php test script. The reason is behind changing default value of encoding parameter in different php versions.
http://php.net/manual/en/function.htmlspecialchars.php (similarly for htmlentities()) If you decide to leave the test, I would propose following change in attached patch. If I tested correctly, it works for php 7.0 and down to php 5.2. Petr
Index: httpd-framework/t/htdocs/php/strings4.php =================================================================== --- httpd-framework.orig/t/htdocs/php/strings4.php 2016-10-25 14:30:54.470711221 +0200 +++ httpd-framework/t/htdocs/php/strings4.php 2016-11-02 11:27:56.084010115 +0100 @@ -1,5 +1,5 @@ <?php setlocale (LC_CTYPE, "C"); -echo htmlspecialchars ("<>\"&εΔ\n"); -echo htmlentities ("<>\"&εΔ\n"); +echo htmlspecialchars ("<>\"&εΔ\n", ENT_COMPAT, "ISO-8859-1"); +echo htmlentities ("<>\"&εΔ\n", ENT_COMPAT, "ISO-8859-1"); ?>