--TEST--
-HttpMessage implmenets Serializable, Countable
+HttpMessage implements Serializable, Countable
--SKIPIF--
<?php
include 'skip.inc';
-checkmin(5);
+checkmin(5.3);
?>
--FILE--
<?php
echo "Done\n";
?>
--EXPECTF--
-%sTEST
+%aTEST
int(3)
string(148) "HTTP/1.1 301
Location: /anywhere
X
"
object(HttpMessage)#%d (%d) {
- ["type:protected"]=>
+ ["type":protected]=>
int(2)
- ["httpVersion:protected"]=>
- float(1.1)
- ["responseCode:protected"]=>
- int(200)
- ["responseStatus:protected"]=>
- string(2) "Ok"
- ["requestMethod:protected"]=>
+ ["body":protected]=>
+ string(0) ""
+ ["requestMethod":protected]=>
string(0) ""
- ["requestUri:protected"]=>
+ ["requestUrl":protected]=>
string(0) ""
- ["headers:protected"]=>
+ ["responseStatus":protected]=>
+ string(2) "Ok"
+ ["responseCode":protected]=>
+ int(200)
+ ["httpVersion":protected]=>
+ float(1.1)
+ ["headers":protected]=>
array(1) {
["Server"]=>
string(9) "Funky/1.0"
}
- ["body:protected"]=>
- string(0) ""
+ ["parentMessage":protected]=>
+ NULL
}
int(1)
Done