use http\Message as HttpMessage;
+try {
+ echo new HttpMessage(" gosh\n nosh\n ");
+} catch (Exception $ignore) {
+}
+
$m = new HttpMessage();
echo $m;
var_dump(
echo "Done\n";
--EXPECTF--
Test
-string(3) "0.0"
+string(3) "1.1"
bool(true)
array(0) {
}
Content-Length: 14
Hello, World!
-
string(3) "1.1"
bool(true)
int(200)