Home
last modified time | relevance | path

Searched refs:ref (Results 51 – 75 of 222) sorted by relevance

123456789

/PHP-7.3/tests/lang/
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";
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 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…
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 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…
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 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…
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 Dcall_user_func_007.phpt6 function foo(&$ref) { $ref = 24; }
H A Dbug47353.phpt15 $ref = & $myArray[$i];
16 $ref[] = new stdClass();
H A Dbug63734.phpt8 public $ref;
11 $this->ref = $this;
H A Dbug50146.phpt10 $ref = new ReflectionObject($obj);
11 var_dump($ref->hasProperty('b'));
H A Dbug43201.phpt17 $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 Dbug74164.phpt2 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 DDOMDocument_createEntityReference_basic.phpt13 $ref = $dom->createEntityReference('nbsp');
14 $dom->appendChild($ref);
/PHP-7.3/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(
/PHP-7.3/ext/ldap/tests/
H A Dldap_parse_reference_basic.phpt17 "ref" => "cn=userA,$base",
21 $ref = ldap_first_reference($link, $result);
24 ldap_parse_reference($link, $ref, $refs),
H A Dldap_first_reference_basic.phpt17 "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 Dunexpected_array_mod_bug_variation1.phpt13 usort($array, function($a, $b) use (&$array, &$ref) {
15 $ref = $array;
/PHP-7.3/Zend/tests/generators/errors/
H A Dnon_ref_generator_iterated_by_ref_error.phpt2 Non-ref generators cannot be iterated by-ref
/PHP-7.3/ext/spl/internal/
H A Drecursivearrayiterator.inc49 if (empty($this->ref))
51 $this->ref = new ReflectionClass($this);
53 return $this->ref->newInstance($this->current());
56 private $ref;
H A Drecursivecachingiterator.inc56 if (!$this->ref)
58 $this->ref = new ReflectionClass($this);
60 $this->getChildren = $ref->newInstance($child, $this->flags);
78 private $ref;
H A Drecursivefilteriterator.inc52 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 Dbug29268.phpt15 $ref = new reflectionMethod('B','doit');
16 $parameters = $ref->getParameters();
H A D007.phpt11 $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 Dfixedarray_002.phpt56 $ref = "value4";
57 $ref2 =&$ref;
58 $a[4] = $ref;
59 $ref = "value5";
/PHP-7.3/ext/soap/
H A Dphp_schema.c1077 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 Dzend_execute.h61 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 Dbug71996.phpt15 $ref = array("foo");
16 $data = array(&$ref);
19 $ref = array("def" => "foo");
20 $data = array("abc" => &$ref);

Completed in 181 milliseconds

123456789