/PHP-7.3/tests/lang/ |
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"; 57 ---- Pass uninitialised array & object by ref: function call --- 91 ---- Pass uninitialised arrays & objects by ref: static method call --- 128 ---- Pass uninitialised arrays & objects by ref: constructor --- 162 ---- Pass uninitialised arrays & objects by ref: instance method call ---
|
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… 46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 52 ---> 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… 48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref: 54 ---> 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… 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:
|
/PHP-7.3/Zend/tests/ |
H A D | call_user_func_007.phpt | 6 function foo(&$ref) { $ref = 24; }
|
H A D | bug47353.phpt | 15 $ref = & $myArray[$i]; 16 $ref[] = new stdClass();
|
H A D | bug63734.phpt | 8 public $ref; 11 $this->ref = $this;
|
H A D | bug50146.phpt | 10 $ref = new ReflectionObject($obj); 11 var_dump($ref->hasProperty('b'));
|
H A D | bug43201.phpt | 17 $c->arr[0]["k2"] = $ref; 19 $ref = chop($undef); 20 $c->arr[$cnt]["k2"] = $ref; 29 Notice: Undefined variable: ref in %sbug43201.php on line 14
|
H A D | bug74164.phpt | 2 Bug #74164 (PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg) 12 call_user_func(function (array &$ref) {var_dump("xxx");}, 'not_an_array_variable');
|
/PHP-7.3/ext/dom/tests/ |
H A D | DOMDocument_createEntityReference_basic.phpt | 13 $ref = $dom->createEntityReference('nbsp'); 14 $dom->appendChild($ref);
|
/PHP-7.3/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(
|
/PHP-7.3/ext/ldap/tests/ |
H A D | ldap_parse_reference_basic.phpt | 17 "ref" => "cn=userA,$base", 21 $ref = ldap_first_reference($link, $result); 24 ldap_parse_reference($link, $ref, $refs),
|
H A D | ldap_first_reference_basic.phpt | 17 "ref" => "cn=userA,$base", 21 var_dump($ref = ldap_first_reference($link, $result)); 23 ldap_parse_reference($link, $ref, $refs);
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | unexpected_array_mod_bug_variation1.phpt | 13 usort($array, function($a, $b) use (&$array, &$ref) { 15 $ref = $array;
|
/PHP-7.3/Zend/tests/generators/errors/ |
H A D | non_ref_generator_iterated_by_ref_error.phpt | 2 Non-ref generators cannot be iterated by-ref
|
/PHP-7.3/ext/spl/internal/ |
H A D | recursivearrayiterator.inc | 49 if (empty($this->ref)) 51 $this->ref = new ReflectionClass($this); 53 return $this->ref->newInstance($this->current()); 56 private $ref;
|
H A D | recursivecachingiterator.inc | 56 if (!$this->ref) 58 $this->ref = new ReflectionClass($this); 60 $this->getChildren = $ref->newInstance($child, $this->flags); 78 private $ref;
|
H A D | recursivefilteriterator.inc | 52 if (empty($this->ref)) 54 $this->ref = new ReflectionClass($this); 56 return $this->ref->newInstance($this->getInnerIterator()->getChildren()); 59 private $ref;
|
/PHP-7.3/ext/reflection/tests/ |
H A D | bug29268.phpt | 15 $ref = new reflectionMethod('B','doit'); 16 $parameters = $ref->getParameters();
|
H A D | 007.phpt | 11 $ref = new ReflectionClass($class); 22 var_dump($ref->newInstance()); 36 var_dump($ref->newInstance(25)); 46 var_dump($ref->newInstance(25, 42));
|
/PHP-7.3/ext/spl/tests/ |
H A D | fixedarray_002.phpt | 56 $ref = "value4"; 57 $ref2 =&$ref; 58 $a[4] = $ref; 59 $ref = "value5";
|
/PHP-7.3/ext/soap/ |
H A D | php_schema.c | 1077 if (ref) { in schema_group() 1511 if (ref) { in schema_element() 1744 if (ref) { in schema_attribute() 1983 } else if (ref) { in schema_attributeGroup() 2069 if ((tmp = zend_hash_str_find_ptr(ht, ref, strlen(ref))) != NULL) { in schema_find_by_ref() 2072 ref = strrchr(ref, ':'); in schema_find_by_ref() 2073 if (ref) { in schema_find_by_ref() 2125 efree(attr->ref); in schema_attribute_fixup() 2506 if (attr->ref) { in delete_attribute() 2532 if (attr->ref) { in delete_attribute_persistent() [all …]
|
/PHP-7.3/Zend/ |
H A D | zend_execute.h | 61 zend_refcounted *ref = NULL; in zend_assign_to_variable() local 64 ref = Z_COUNTED_P(value); in zend_assign_to_variable() 84 if (value_type == IS_VAR && ref) { in zend_assign_to_variable() 85 ZEND_ASSERT(GC_REFCOUNT(ref) > 1); in zend_assign_to_variable() 86 GC_DELREF(ref); in zend_assign_to_variable() 101 } else if (ZEND_CONST_COND(value_type == IS_VAR, 1) && UNEXPECTED(ref)) { in zend_assign_to_variable() 102 if (UNEXPECTED(GC_DELREF(ref) == 0)) { in zend_assign_to_variable() 103 efree_size(ref, sizeof(zend_reference)); in zend_assign_to_variable() 128 } else if (ZEND_CONST_COND(value_type == IS_VAR, 1) && UNEXPECTED(ref)) { in zend_assign_to_variable() 129 if (UNEXPECTED(GC_DELREF(ref) == 0)) { in zend_assign_to_variable() [all …]
|
/PHP-7.3/ext/soap/tests/ |
H A D | bug71996.phpt | 15 $ref = array("foo"); 16 $data = array(&$ref); 19 $ref = array("def" => "foo"); 20 $data = array("abc" => &$ref);
|