Lines Matching refs:prop
6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
13 echo "\n--> Access prop on instance of ArrayObject with ArrayObject::ARRAY_AS_PROPS:\n";
18 echo "\n--> Access prop on instance of MyArrayObject with ArrayObject::ARRAY_AS_PROPS:\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 with ArrayObject::ARRAY_AS_PROPS:
52 prop=>C::prop.orig
54 string(12) "C::prop.orig"
55 string(12) "C::prop.orig"
64 Warning: Undefined array key "prop" in %s on line %d
66 Warning: Undefined array key "prop" in %s on line %d
78 --> Access prop on instance of MyArrayObject with ArrayObject::ARRAY_AS_PROPS:
80 prop=>C::prop.orig
82 string(24) "MyArrayObject::prop.orig"
83 string(12) "C::prop.orig"
92 Warning: Undefined array key "prop" in %s on line %d
94 Warning: Undefined array key "prop" in %s on line %d