5 //////////////////////////////////////////////////////////////////////
8 public function __set($k, $v) {
11 $this->bar
= ($v +
1);
21 //////////////////////////////////////////////////////////////////////
24 public function __set($k, $v) {
26 $this->foo
= ($v +
1);
35 //////////////////////////////////////////////////////////////////////
38 public function __set($k, $v) {
40 if ($k === 'bar') { $this->Bar
= ($v +
1); return; }
41 if ($k === 'Bar') { $this->foo
= ($v +
1); return; }
42 if ($k === 'foo') { $this->bar
= ($v +
1); return; }
43 var_dump("shouldn't get here");
52 //////////////////////////////////////////////////////////////////////