Lines Matching refs:new
7 $c = new C;
8 $ao1 = new ArrayObject($c);
9 $c->p1 = 'new prop added to c before clone';
13 $c->p2 = 'new prop added to c after clone';
14 $ao1['new.ao1'] = 'new element added to ao1';
15 $ao2['new.ao2'] = 'new element added to ao2';
21 string(32) "new prop added to c before clone"
23 string(31) "new prop added to c after clone"
24 ["new.ao1"]=>
25 string(24) "new element added to ao1"
31 string(32) "new prop added to c before clone"
33 string(31) "new prop added to c after clone"
34 ["new.ao1"]=>
35 string(24) "new element added to ao1"
42 string(32) "new prop added to c before clone"
43 ["new.ao2"]=>
44 string(24) "new element added to ao2"