- fix a load of issues with inheritance and cloning
[m6w6/ext-http] / tests / HttpMessage_003.phpt
index 2eab2dc235ced038a8c36756386c487db65c5261..8c416b9b906df9f99574aa6d219887a7812df2ab 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-HttpMessage implmenets Serializable, Countable
+HttpMessage implements Serializable, Countable
 --SKIPIF--
 <?php
 include 'skip.inc';
@@ -46,23 +46,25 @@ X
 object(HttpMessage)#%d (%d) {
   ["type:protected"]=>
   int(2)
-  ["httpVersion:protected"]=>
-  float(1.1)
-  ["responseCode:protected"]=>
-  int(200)
-  ["responseStatus:protected"]=>
-  string(2) "Ok"
+  ["body:protected"]=>
+  string(0) ""
   ["requestMethod:protected"]=>
   string(0) ""
   ["requestUrl:protected"]=>
   string(0) ""
+  ["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