diff --git a/htmlsrc.c b/htmlsrc.c
index c219f5a..da59995 100644
--- a/htmlsrc.c
+++ b/htmlsrc.c
@@ -417,7 +417,7 @@ static CmdDef htmlsrc_commands[] = {
ModeDef htmlsrc_mode = {
.name = "html-src",
- .extensions = "html|htm|asp|aspx|shtml|hta|htp|phtml|php|xml",
+ .extensions = "html|htm|asp|aspx|shtml|hta|htp|phtml|php|php3|php4|xml",
.mode_probe = htmlsrc_mode_probe,
.colorize_func = htmlsrc_colorize_line,
};