diff --git a/test/other/test_dol_escape_htmltag.php b/test/other/test_dol_escape_htmltag.php
new file mode 100755
index 00000000000..1b73f885a98
--- /dev/null
+++ b/test/other/test_dol_escape_htmltag.php
@@ -0,0 +1,49 @@
+#!/usr/bin/env php
+
+receiving file list ... done
+rsync: send_files failed to open "aaa: Permission denied (13)
+
+Number of files: 15,726 (reg: 14,418, dir: 1,308)
+Number of created files: 0
+Number of deleted files: 0
+Number of regular files transferred: 0
+Total file size: 210,285,070 bytes
+Total transferred file size: 0 bytes
+Literal data: 0 bytes
+Matched data: 0 bytes
+File list size: 408,056
+File list generation time: 0.163 seconds
+File list transfer time: 0.000 seconds
+Total bytes sent: 820
+Total bytes received: 408,215
+
+sent 820 bytes received 408,215 bytes 272,690.00 bytes/sec
+total size is 210,285,070 speedup is 514.10
+rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1682) [generator=3.1.3]";
+
+print $a;
+
+print "\n\n\n";
+
+//print dolGetFirstLineOfText($a, 7);
+print dol_escape_htmltag($a, 1, 1);
+
+print "\n";
+
+//print print_r(unserialize(serialize($object)));