X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fpropertyproxy001.phpt;h=88a35436b18e680a725306f99657adb520b0c80b;hb=HEAD;hp=1001f8e5c3c981eccd6eb4a88a4d34091604fcc1;hpb=597319011750ceaf7e156fe8bc03574e7f4e399b;p=m6w6%2Fext-http diff --git a/tests/propertyproxy001.phpt b/tests/propertyproxy001.phpt deleted file mode 100644 index 1001f8e..0000000 --- a/tests/propertyproxy001.phpt +++ /dev/null @@ -1,98 +0,0 @@ ---TEST-- -property proxy ---SKIPIF-- - ---XFAIL-- -TBD ---FILE-- -headers["bykey"] = 1; - var_dump($this->headers); - - $h = &$this->headers; - $h["by1ref"] = 2; - var_dump($this->headers); - - $x = &$this->headers["byXref"]; - - $h = &$this->headers["by2ref"]; - $h = 1; - var_dump($this->headers); - - $x = 2; - var_dump($this->headers); - - $this->headers["bynext"][] = 1; - $this->headers["bynext"][] = 2; - $this->headers["bynext"][] = 3; - var_dump($this->headers); - } -} - -$m=new m; -$m->test(); -echo $m,"\n"; - -?> -DONE ---EXPECTF-- -array(1) { - ["bykey"]=> - int(1) -} -array(2) { - ["bykey"]=> - int(1) - ["by1ref"]=> - int(2) -} -array(3) { - ["bykey"]=> - int(1) - ["by1ref"]=> - int(2) - ["by2ref"]=> - &int(1) -} -array(4) { - ["bykey"]=> - int(1) - ["by1ref"]=> - int(2) - ["by2ref"]=> - &int(1) - ["byXref"]=> - &int(2) -} -array(5) { - ["bykey"]=> - int(1) - ["by1ref"]=> - int(2) - ["by2ref"]=> - &int(1) - ["byXref"]=> - &int(2) - ["bynext"]=> - array(3) { - [0]=> - int(1) - [1]=> - int(2) - [2]=> - int(3) - } -} -bykey: 1 -by1ref: 2 -by2ref: 1 -byXref: 2 -bynext: 1, 2, 3 - -DONE -