Lines Matching refs:prop
6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
13 echo "--> Access prop on instance of ArrayObject:\n";
18 echo "\n--> Access prop on instance of MyArrayObject:\n";
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
34 $ao['prop'] = 'changed2';
35 var_dump($ao->prop, $ao['prop']);
38 var_dump(isset($ao->prop), isset($ao['prop']));
41 unset($ao->prop);
42 unset($ao['prop']);
43 var_dump($ao->prop, $ao['prop']);
50 --> Access prop on instance of ArrayObject:
52 prop=>C::prop.orig
55 string(12) "C::prop.orig"
64 Notice: Undefined property: ArrayObject::$prop in %s on line 40
66 Notice: Undefined index: prop in %s on line 40
78 --> Access prop on instance of MyArrayObject:
80 prop=>C::prop.orig
82 string(24) "MyArrayObject::prop.orig"
83 string(12) "C::prop.orig"
92 Notice: Undefined property: MyArrayObject::$prop in %s on line 40
94 Notice: Undefined index: prop in %s on line 40