Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 149) sorted by relevance

123456

/PHP-5.5/ext/reflection/tests/
H A D006.phpt18 $ref = new ReflectionClass('Test');
24 var_dump($ref->getStaticPropertyValue($name));
25 var_dump($ref->getStaticPropertyValue($name));
26 $ref->setStaticPropertyValue($name, 'updated');
27 var_dump($ref->getStaticPropertyValue($name));
45 $ref = new ReflectionClass('Test');
51 var_dump($ref->getStaticPropertyValue($name));
64 $ref = new ReflectionClass('Test');
70 var_dump($ref->getStaticPropertyValue($name));
71 var_dump($ref->getStaticPropertyValue($name));
[all …]
H A Dbug63399.phpt25 $ref = new ReflectionClass('MyClass');
27 print_r($ref->getTraitAliases());
28 print_r($ref->getTraits());
H A Dbug31651.phpt11 $ref = new ReflectionClass('Test');
13 print_r($ref->getDefaultProperties());
H A Dbug49719.phpt15 $ref = new ReflectionClass($b);
19 var_dump($ref->hasProperty('a'));
20 var_dump($ref->getProperty('a'));
/PHP-5.5/ext/standard/tests/class_object/
H A Dget_object_vars_variation_002.phpt15 $obj->ref = &$a;
21 $arr['ref'] = 'changed.ref';
30 ["ref"]=>
36 ["ref"]=>
37 &string(11) "changed.ref"
42 ["ref"]=>
43 &string(11) "changed.ref"
47 string(11) "changed.ref"
/PHP-5.5/tests/lang/
H A DreturnByReference.006.phpt23 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
30 …\n---> 2. Via a return by ref function call, assign by reference the return value of a function th…
37 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
46 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
52 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
58 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DreturnByReference.007.phpt25 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
32 …\n---> 2. Via a return by ref function call, assign by reference the return value of a function th…
39 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
49 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
55 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
61 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DreturnByReference.008.phpt26 echo "\n---> 1. Via a return by ref function call, assign by reference the return value of a functi…
33 …\n---> 2. Via a return by ref function call, assign by reference the return value of a function th…
40 echo "\n---> 3. Via a return by ref function call, assign by reference the return value of a functi…
50 ---> 1. Via a return by ref function call, assign by reference the return value of a function that …
56 ---> 2. Via a return by ref function call, assign by reference the return value of a function that …
62 ---> 3. Via a return by ref function call, assign by reference the return value of a function that …
H A DpassByReference_005.phpt10 function r(&$ref) {
11 $ref = "Ref changed";
20 function vr($val, &$ref) {
22 $ref = "Ref changed";
25 function rv(&$ref, $val) {
27 $ref = "Ref changed";
40 $ref = "Ref changed";
47 function r(&$ref) {
48 $ref = "Ref changed";
58 $ref = "Ref changed";
[all …]
H A DforeachLoopObjects.006.phpt23 $ref = &$obj;
28 $ref=$obj2;
40 $ref = &$obj;
45 $ref=$a;
57 $ref = &$a;
62 $ref=$obj;
H A DpassByReference_006.phpt35 echo "\n ---- Pass uninitialised array & object by ref: function call ---\n";
40 echo "\n ---- Pass uninitialised arrays & objects by ref: static method call ---\n";
45 echo "\n\n---- Pass uninitialised arrays & objects by ref: constructor ---\n";
50 echo "\n ---- Pass uninitialised arrays & objects by ref: instance method call ---\n";
58 ---- Pass uninitialised array & object by ref: function call ---
92 ---- Pass uninitialised arrays & objects by ref: static method call ---
129 ---- Pass uninitialised arrays & objects by ref: constructor ---
163 ---- Pass uninitialised arrays & objects by ref: instance method call ---
H A DpassByReference_004.phpt6 function foo(&$ref)
8 var_dump($ref);
H A DreturnByReference.003.phpt24 …2. Trying to assign by reference the return value of a function that returns a constant by ref:\n";
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
47 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
53 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.004.phpt26 …2. Trying to assign by reference the return value of a function that returns a constant by ref:\n";
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt27 …2. Trying to assign by reference the return value of a function that returns a constant by ref:\n";
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
50 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
56 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
/PHP-5.5/ext/gd/libgd/
H A Dgdtest.c22 gdImagePtr im, ref, im2, im3; in main() local
47 ref = gdImageCreateFromPng (in); in main()
53 CompareImages ("Initial Versions", ref, im); in main()
73 CompareImages ("GD->PNG File->GD", ref, im2); in main()
82 CompareImages ("GD->PNG ptr->GD", ref, im2); in main()
117 CompareImages ("GD->GD2 ptr->GD", ref, im2); in main()
140 CompareImages ("GD->GD File->GD", ref, im2); in main()
152 CompareImages ("GD->GD ptr->GD", ref, im2); in main()
174 CompareImages ("GD Source", ref, im2); in main()
199 CompareImages ("GD Sink", ref, im2); in main()
[all …]
/PHP-5.5/ext/standard/tests/serialize/
H A Dserialization_objects_004.phpt17 $ref = &$x;
21 $ref = &$x;
25 $ref = &$x;
29 $ref = &$x;
33 $ref = &$x;
37 $ref = &$x;
/PHP-5.5/Zend/tests/
H A Dbug55305.phpt2 Bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o instantiating)
H A Dbug63762.phpt7 $ref = new ReflectionProperty($e, 'trace');
8 $ref->setAccessible(TRUE);
11 $ref->setValue($e, array(NULL));
16 $ref->setValue($e, array(array()));
20 $ref->setValue($e, array(array(
/PHP-5.5/ext/spl/tests/
H A Dfixedarray_001.phpt29 $ref = "value4";
30 $ref2 =&$ref;
31 $a[4] = $ref;
32 $ref = "value5";
/PHP-5.5/ext/spl/internal/
H A Drecursiveregexiterator.inc51 if (empty($this->ref))
53 $this->ref = new ReflectionClass($this);
55 return $this->ref->newInstance($this->getInnerIterator()->getChildren());
58 private $ref;
/PHP-5.5/tests/classes/
H A Dstatic_properties_003.phpt17 $ref = 'ref';
18 $c->x =& $ref;
26 //$c->y =& $ref; // Fatal error, tested in static_properties_003_error4.phpt
44 %unicode|string%(3) "ref"
/PHP-5.5/scripts/dev/
H A Dsearch_underscores.php49 $ref = new ReflectionClass($c); variable
50 if (!($ext = $ref->getExtensionName())) {;
51 $ext = $ref->isInternal() ? "<internal>" : "<user>";
/PHP-5.5/ext/ldap/tests/
H A Dldap_next_reference_basic.phpt17 "ref" => "cn=userA,dc=my-domain,dc=com",
22 "ref" => "cn=userB,dc=my-domain,dc=com",
26 $ref = ldap_first_reference($link, $result);
27 var_dump($ref2 = ldap_next_reference($link, $ref));
/PHP-5.5/ext/spl/examples/
H A Drecursivedualiterator.inc19 private $ref;
45 if (empty($this->ref))
47 $this->ref = new ReflectionClass($this);
49 return $this->ref->newInstance(

Completed in 33 milliseconds

123456