/PHP-5.5/ext/reflection/tests/ |
H A D | 006.phpt | 18 $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 D | bug63399.phpt | 25 $ref = new ReflectionClass('MyClass'); 27 print_r($ref->getTraitAliases()); 28 print_r($ref->getTraits());
|
H A D | bug31651.phpt | 11 $ref = new ReflectionClass('Test'); 13 print_r($ref->getDefaultProperties());
|
H A D | bug49719.phpt | 15 $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 D | get_object_vars_variation_002.phpt | 15 $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 D | returnByReference.006.phpt | 23 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 D | returnByReference.007.phpt | 25 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 D | returnByReference.008.phpt | 26 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 D | passByReference_005.phpt | 10 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 D | foreachLoopObjects.006.phpt | 23 $ref = &$obj; 28 $ref=$obj2; 40 $ref = &$obj; 45 $ref=$a; 57 $ref = &$a; 62 $ref=$obj;
|
H A D | passByReference_006.phpt | 35 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 D | passByReference_004.phpt | 6 function foo(&$ref) 8 var_dump($ref);
|
H A D | returnByReference.003.phpt | 24 …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 D | returnByReference.004.phpt | 26 …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 D | returnByReference.005.phpt | 27 …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 D | gdtest.c | 22 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 D | serialization_objects_004.phpt | 17 $ref = &$x; 21 $ref = &$x; 25 $ref = &$x; 29 $ref = &$x; 33 $ref = &$x; 37 $ref = &$x;
|
/PHP-5.5/Zend/tests/ |
H A D | bug55305.phpt | 2 Bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o instantiating)
|
H A D | bug63762.phpt | 7 $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 D | fixedarray_001.phpt | 29 $ref = "value4"; 30 $ref2 =&$ref; 31 $a[4] = $ref; 32 $ref = "value5";
|
/PHP-5.5/ext/spl/internal/ |
H A D | recursiveregexiterator.inc | 51 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 D | static_properties_003.phpt | 17 $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 D | search_underscores.php | 49 $ref = new ReflectionClass($c); variable 50 if (!($ext = $ref->getExtensionName())) {; 51 $ext = $ref->isInternal() ? "<internal>" : "<user>";
|
/PHP-5.5/ext/ldap/tests/ |
H A D | ldap_next_reference_basic.phpt | 17 "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 D | recursivedualiterator.inc | 19 private $ref; 45 if (empty($this->ref)) 47 $this->ref = new ReflectionClass($this); 49 return $this->ref->newInstance(
|