--- htscanner.c.orig 2007-03-23 12:31:59.000000000 +0100 +++ htscanner.c 2007-11-24 17:43:07.000000000 +0100 @@ -97,6 +97,8 @@ /* strip any leading whitespaces or tabs from the name */ PHP_HTSCANNER_LTRIM(name); value = strchr(name, ' '); + + if(!value) value = strchr(name, '\t'); if (value) { int len;