Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 377) sorted by path

12345678910>>...16

/php-src/
H A D.gdbinit250 ____printzv &$zvalue->value.ref->val $arg1
636 printf "looking ref %p in roots\n", $arg0
638 if $current->ref == $arg0
/php-src/.github/workflows/
H A Dnightly.yml78 ref: ${{ matrix.branch.ref }}
172 ref: ${{ matrix.branch.ref }}
239 ref: ${{ matrix.branch.ref }}
368 ref: ${{ matrix.branch.ref }}
561 ref: ${{ matrix.branch.ref }}
635 ref: ${{ matrix.branch.ref }}
733 ref: ${{ matrix.branch.ref }}
749 withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }}
753 withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }}
759 withMysqli: ${{ matrix.branch.ref == 'PHP-8.1' }}
[all …]
/php-src/Zend/tests/
H A D019.phpt300 echo "\n** Testing unset() variation 2: unset on a variable passed by ref. inside of a function **\…
314 $ref_val = "new value by ref";
1309 ** Testing unset() variation 2: unset on a variable passed by ref. inside of a function **
H A Dadd_optional_by_ref_arg.phpt2 Adding an optional by-ref arg in a child method
H A Dassign_obj_ref_return.phpt7 $obj->ref =& $ref;
8 $obj->val = $obj->ref = 42;
14 ["ref"]=>
H A Dassign_ref_error_var_handling.phpt2 If the LHS of ref-assign ERRORs, that takes precedence over the "only variables" notice
H A Dassign_ref_to_overloaded_prop.phpt2 Cannot assign by reference to overloaded object, even if __get() returns by-ref
H A Dassign_to_obj_001.phpt2 assign to object leaks with ref
H A Dassign_typed_ref_result.phpt11 $ref =& $obj->prop;
12 var_dump($ref = 0);
H A Dbug34358.phpt7 $ref = &$this;
H A Dbug38808.phpt2 Bug #38808 ("maybe ref" issue for current() and others)
H A Dbug43201.phpt17 $c->arr[0]["k2"] = $ref;
19 $ref = chop($undef);
20 $c->arr[$cnt]["k2"] = $ref;
29 Warning: Undefined variable $ref in %s on line %d
/php-src/Zend/tests/arg_unpack/
H A Dby_ref.phpt2 Argument unpacking with by-ref arguments
H A Dtraversable_with_by_ref_parameters.phpt6 function test($val1, $val2, $val3, &$ref) {
7 $ref = 42;
/php-src/Zend/tests/arrow_functions/
H A D006.phpt9 $ref =& $id($var);
10 $ref++;
/php-src/Zend/tests/attributes/
H A D001_placement.phpt28 $ref = new \ReflectionClass(Foo::class);
31 $ref,
32 $ref->getReflectionConstant('FOO'),
33 $ref->getProperty('x'),
34 $ref->getMethod('foo'),
35 $ref->getMethod('foo')->getParameters()[0],
36 $ref->getMethod('foo')->getParameters()[1],
H A D003_ast_nodes.phpt14 $ref = new \ReflectionClass(C1::class);
15 $attr = $ref->getAttributes();
26 $ref = new \ReflectionClass(C2::class);
27 $attr = $ref->getAttributes();
44 $ref = new \ReflectionClass(C3::class);
45 $attr = $ref->getAttributes();
57 $ref = new \ReflectionClass(C4::class);
58 var_dump($ref->getAttributes()[0]->getArguments());
68 $ref = new \ReflectionFunction(#[C5(MissingClass::SOME_CONST)] function () { });
69 $attr = $ref->getAttributes();
H A D005_objects.phpt21 foreach ($ref->getAttributes() as $attr) {
29 $ref = new \ReflectionFunction(#[A1] function () { });
32 $ref->getAttributes()[0]->newInstance();
42 $ref->getAttributes()[0]->newInstance();
49 $ref = new \ReflectionFunction(#[A2] function () { });
52 $ref->getAttributes()[0]->newInstance();
65 $ref = new \ReflectionFunction(#[A3] function () { });
68 $ref->getAttributes()[0]->newInstance();
81 $ref->getAttributes()[0]->newInstance();
90 $ref = new \ReflectionFunction(#[A5] function () { });
[all …]
H A D006_filter.phpt6 $ref = new \ReflectionFunction(#[A1] #[A2] function () { });
7 $attr = $ref->getAttributes(A3::class);
11 $ref = new \ReflectionFunction(#[A1] #[A2] function () { });
12 $attr = $ref->getAttributes(A2::class);
16 $ref = new \ReflectionFunction(#[A1] #[A2] #[A2] function () { });
17 $attr = $ref->getAttributes(A2::class);
33 $ref = new \ReflectionFunction(#[A1] #[A2] function () { });
38 $ref = new \ReflectionFunction(#[A1] #[A2] function () { });
55 $ref = new \ReflectionFunction(function () { });
58 $ref->getAttributes(A1::class, 3);
[all …]
H A D011_inheritance.phpt24 $ref = new \ReflectionClass(C1::class);
25 print_r(array_map(fn ($a) => $a->getName(), $ref->getAttributes()));
26 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes()));
28 $ref = new \ReflectionClass(C2::class);
29 print_r(array_map(fn ($a) => $a->getName(), $ref->getAttributes()));
30 print_r(array_map(fn ($a) => $a->getName(), $ref->getMethod('foo')->getAttributes()));
32 $ref = new \ReflectionClass(C3::class);
33 print_r(array_map(fn ($a) => $a->getName(), $ref->getAttributes()));
56 $ref = new \ReflectionClass(T1::class);
59 $ref = new \ReflectionClass(C4::class);
[all …]
H A D013_class_scope.phpt19 $ref = new \ReflectionClass(C1::class);
20 print_r($ref->getAttributes()[0]->getArguments());
22 print_r($ref->getProperty('a')->getAttributes()[0]->getArguments());
23 print_r($ref->getMethod('bar')->getAttributes()[0]->getArguments());
41 $ref = new \ReflectionClass(C2::class);
44 $ref = new \ReflectionClass(T1::class);
45 $attr = $ref->getMethod('foo')->getAttributes()[0];
70 $ref = new \ReflectionObject(C3::foo());
72 $args = $ref->getAttributes()[0]->getArguments();
73 var_dump($args[0] == $ref->getName(), $args[1]);
[all …]
H A D017_closure_scope.phpt21 $ref = new \ReflectionFunction(C1::foo());
22 print_r($ref->getAttributes()[0]->getArguments());
23 print_r($ref->getParameters()[0]->getAttributes()[0]->getArguments());
27 $ref = new \ReflectionFunction(C1::foo()->bindTo(null, Test1::class));
28 print_r($ref->getAttributes()[0]->getArguments());
29 print_r($ref->getParameters()[0]->getAttributes()[0]->getArguments());
H A D020_userland_attribute_validation.phpt9 $ref = new \ReflectionFunction(#[A1] function () { });
10 $attr = $ref->getAttributes()[0];
16 $ref = new \ReflectionObject(new #[A1] class() { });
17 $attr = $ref->getAttributes()[0];
28 $ref = new \ReflectionFunction(#[A1] #[A1] function () { });
29 $attr = $ref->getAttributes()[0];
43 $ref = new \ReflectionObject(new #[A2] #[A2] class() { });
44 $attr = $ref->getAttributes()[0];
H A D027_trailing_comma_args.phpt14 $ref = new \ReflectionClass(Foo::class);
15 $attr = $ref->getAttributes()[0];
H A D028_grouped.phpt27 foreach ($sources as $ref) {
28 $attr = $ref->getAttributes();
29 var_dump(get_class($ref), count($attr));

Completed in 108 milliseconds

12345678910>>...16