Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 65) sorted by relevance

123

/PHP-5.3/ext/spl/tests/
H A DarrayObject___construct_basic2.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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']);
52 prop=>C::prop.orig
[all …]
H A DarrayObject___construct_basic4.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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']);
52 prop=>C::prop.orig
[all …]
H A DarrayObject___construct_basic5.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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']);
52 prop=>C::prop.orig
[all …]
H A DarrayObject___construct_basic3.phpt6 public $prop = 'C::prop.orig';
10 public $prop = 'MyArrayObject::prop.orig';
30 @var_dump($ao->prop, $ao['prop']);
33 $ao->prop = 'changed1';
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']);
52 prop=>C::prop.orig
[all …]
H A DarrayObject_clone_basic2.phpt9 $c->p1 = 'new prop added to c before clone';
13 $c->p2 = 'new prop added to c after clone';
21 string(32) "new prop added to c before clone"
23 string(31) "new prop added to c after clone"
31 string(32) "new prop added to c before clone"
33 string(31) "new prop added to c after clone"
42 string(32) "new prop added to c before clone"
H A DarrayObject_clone_basic3.phpt14 $wrappedObject->dynamic1 = 'new prop added to $wrappedObject before clone';
16 $wrappedObject->dynamic2 = 'new prop added to $wrappedObject after clone';
29 string(45) "new prop added to $wrappedObject before clone"
31 string(44) "new prop added to $wrappedObject after clone"
43 string(45) "new prop added to $wrappedObject before clone"
45 string(44) "new prop added to $wrappedObject after clone"
60 string(45) "new prop added to $wrappedObject before clone"
62 string(44) "new prop added to $wrappedObject after clone"
76 string(45) "new prop added to $wrappedObject before clone"
/PHP-5.3/Zend/tests/
H A Dbug28442.phpt8 static $prop;
13 static $prop;
21 ClassA::$prop = 'A';
22 ClassB::$prop = 'B';
23 ClassC::$prop = 'C';
24 var_dump(ClassA::$prop);
25 var_dump(ClassB::$prop);
26 var_dump(ClassC::$prop);
29 ClassA::$prop = 'A2';
35 ClassB::$prop = 'B2';
[all …]
H A Dbug52484.phpt7 function __unset($prop) {
8 unset($this->$prop);
13 $prop = null;
15 unset($a->$prop);
H A Dbug52484_2.phpt7 function __set($prop, $val) {
8 $this->$prop = $val;
13 $prop = null;
15 $a->$prop = 2;
H A Dbug52484_3.phpt7 function __get($prop) {
8 var_dump($this->$prop);
13 $prop = null;
15 var_dump($a->$prop);
H A Dbug28444.phpt32 function __get($prop)
34 echo __METHOD__ . "($prop)\n";
35 return $this->props[$prop];
38 function __set($prop, $val)
40 echo __METHOD__ . "($prop,$val)\n";
41 $this->props[$prop] = $val;
/PHP-5.3/ext/pcre/pcrelib/
H A Dpcre_xclass.c130 const ucd_record *prop = GET_UCD(c); in PRIV() local
139 if ((prop->chartype == ucp_Lu || prop->chartype == ucp_Ll || in PRIV()
140 prop->chartype == ucp_Lt) == (t == XCL_PROP)) return !negated; in PRIV()
144 if ((data[1] == PRIV(ucp_gentype)[prop->chartype]) == (t == XCL_PROP)) in PRIV()
149 if ((data[1] == prop->chartype) == (t == XCL_PROP)) return !negated; in PRIV()
153 if ((data[1] == prop->script) == (t == XCL_PROP)) return !negated; in PRIV()
157 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
158 PRIV(ucp_gentype)[prop->chartype] == ucp_N) == (t == XCL_PROP)) in PRIV()
163 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z || in PRIV()
170 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z || in PRIV()
[all …]
/PHP-5.3/tests/classes/
H A Dthis.phpt17 print $this->prop;
18 print $other->prop;
26 print $result->prop;
27 print $this->prop;
38 $object->prop = "Hello\n";
41 $other->prop = "World\n";
46 print $object->prop; // still shows 'Hello'
49 print $other->prop; // shows 'Hello'
H A Dstatic_properties_003_error1.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
16 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error2.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
16 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error3.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
16 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003_error4.phpt10 echo "\n--> Access non-visible static prop like instance prop:\n";
16 --> Access non-visible static prop like instance prop:
H A Dstatic_properties_003.phpt12 echo "\n--> Access visible static prop like instance prop:\n";
21 echo "\n--> Access non-visible static prop like instance prop:\n";
30 --> Access visible static prop like instance prop:
47 --> Access non-visible static prop like instance prop:
H A D__set_data_corrupt.phpt15 function __get($prop)
17 return $this->pp[$prop];
19 function __set($prop, $val)
22 $this->pp[$prop] = '';
/PHP-5.3/ext/reflection/tests/
H A Dstatic_properties_002.phpt7 static protected $prop = 2;
10 echo __METHOD__ . '(' . self::$prop . ")\n";
14 base::$prop++;
20 static public $prop = 2;
23 echo __METHOD__ . '(' . self::$prop . ")\n";
27 derived::$prop++;
H A Dbug48336.phpt9 static protected $prop;
13 static protected $prop;
23 static protected $prop;
30 $rp = new ReflectionProperty($class, 'prop');
H A DReflectionMethod_invokeArgs_basic.phpt7 public $prop = 2;
10 echo "Called foo(), property = $this->prop\n";
26 $testClassInstance->prop = "Hello";
55 ["prop"]=>
61 ["prop"]=>
/PHP-5.3/ext/dom/
H A Ddocumentfragment.c91 xmlAttrPtr prop; in php_dom_xmlSetTreeDoc() local
96 prop = tree->properties; in php_dom_xmlSetTreeDoc()
97 while (prop != NULL) { in php_dom_xmlSetTreeDoc()
98 prop->doc = doc; in php_dom_xmlSetTreeDoc()
99 if (prop->children) { in php_dom_xmlSetTreeDoc()
100 cur = prop->children; in php_dom_xmlSetTreeDoc()
106 prop = prop->next; in php_dom_xmlSetTreeDoc()
/PHP-5.3/ext/json/tests/
H A D004.phpt9 $a->prop = $a;
18 ["prop"]=>
23 string(22) "{"prop":{"prop":null}}"
/PHP-5.3/ext/mysqli/tests/
H A Dreflection_tools.inc33 foreach ($properties as $prop)
34 $tmp[$prop->getName()] = $prop;
36 foreach ($tmp as $prop)
37 inspectProperty($prop);
61 function inspectProperty(&$prop) {
63 printf("\nInspecting property '%s'\n", $prop->getName());
64 printf("isPublic: %s\n", ($prop->isPublic()) ? 'yes' : 'no');
65 printf("isPrivate: %s\n", ($prop->isPrivate()) ? 'yes' : 'no');
67 printf("isStatic: %s\n", ($prop->isStatic()) ? 'yes' : 'no');
69 printf("Modifiers: %d\n", $prop->getModifiers());
[all …]

Completed in 43 milliseconds

123