X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2FHttpMessage_002.phpt;fp=tests%2FHttpMessage_002.phpt;h=0000000000000000000000000000000000000000;hb=87db9817d428282792c8146d9c2ae9748ebf6f1e;hp=a7ad34513a4c7db1ab98169fec5099c2815238e0;hpb=7a5c865f6faf8b1b6c91735e9d3b040449ea74ba;p=m6w6%2Fext-http diff --git a/tests/HttpMessage_002.phpt b/tests/HttpMessage_002.phpt deleted file mode 100644 index a7ad345..0000000 --- a/tests/HttpMessage_002.phpt +++ /dev/null @@ -1,65 +0,0 @@ ---TEST-- -HttpMessage properties ---SKIPIF-- - ---FILE-- -var_property); - var_dump($this->public_property); - var_dump($this->protected_property); - var_dump($this->private_property); - var_dump($this->non_ex_property); - $this->var_property.='_property'; - $this->public_property.='_property'; - $this->protected_property.='_property'; - $this->private_property.='_property'; - $this->non_ex_property = 'non_ex'; - var_dump($this->var_property); - var_dump($this->public_property); - var_dump($this->protected_property); - var_dump($this->private_property); - var_dump($this->non_ex_property); - - print_r($this->headers); - $this->headers['Foo'] = 'Bar'; - } -} - -error_reporting(E_ALL|E_STRICT); - -echo "-TEST\n"; -$m = new Message; -$m->test(); -echo "Done\n"; -?> ---EXPECTF-- -%aTEST -string(3) "var" -string(6) "public" -string(9) "protected" -string(7) "private" - -Notice: Undefined property: Message::$non_ex_property in %s -NULL -string(12) "var_property" -string(15) "public_property" -string(18) "protected_property" -string(16) "private_property" -string(6) "non_ex" -Array -( -) -%aFatal error%sCannot access HttpMessage properties by reference or array key/index in%s