tests & bugfixes
[m6w6/ext-http] / tests / message001.phpt
index 8a10811fb1f887e14d5c0bc8022ace14abd0b703..7b6b534d8e5d59f89633f8393059639a56abb0e1 100644 (file)
@@ -10,6 +10,11 @@ echo "Test\n";
 
 use http\Message as HttpMessage;
 
+try {
+    echo new HttpMessage(" gosh\n nosh\n ");
+} catch (Exception $ignore) {
+}
+
 $m = new HttpMessage();
 echo $m;
 var_dump(