Lines Matching refs:test
27 $test = new Test;
28 $test->setProp("a");
29 var_dump($test->prop);
31 $test->setProp("b");
35 var_dump($test->prop);
38 $test = new Test;
40 $test->initAndAppendProp2();
45 $test->initAndAppendProp2();
49 var_dump($test->prop2);
52 $test = new Test;
53 $test->initProp3();
54 $test->replaceProp3();
55 var_dump($test->prop3);
56 $test->replaceProp3();
57 var_dump($test->prop3);
61 $test = new Test;
62 (function() { $this->prop2 = []; })->call($test);
65 })->bindTo($test, Test::class);
76 var_dump($test->prop2);
79 $test = new Test;
83 })->bindTo($test, Test::class);
84 $test->initProp3();
86 var_dump($test->prop3);
88 var_dump($test->prop3);