Searched refs:ref (Results 1 – 25 of 377) sorted by path
12345678910>>...16
/php-src/ |
H A D | .gdbinit | 250 ____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 D | nightly.yml | 78 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 D | 019.phpt | 300 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 D | add_optional_by_ref_arg.phpt | 2 Adding an optional by-ref arg in a child method
|
H A D | assign_obj_ref_return.phpt | 7 $obj->ref =& $ref; 8 $obj->val = $obj->ref = 42; 14 ["ref"]=>
|
H A D | assign_ref_error_var_handling.phpt | 2 If the LHS of ref-assign ERRORs, that takes precedence over the "only variables" notice
|
H A D | assign_ref_to_overloaded_prop.phpt | 2 Cannot assign by reference to overloaded object, even if __get() returns by-ref
|
H A D | assign_to_obj_001.phpt | 2 assign to object leaks with ref
|
H A D | assign_typed_ref_result.phpt | 11 $ref =& $obj->prop; 12 var_dump($ref = 0);
|
H A D | bug34358.phpt | 7 $ref = &$this;
|
H A D | bug38808.phpt | 2 Bug #38808 ("maybe ref" issue for current() and others)
|
H A D | bug43201.phpt | 17 $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 D | by_ref.phpt | 2 Argument unpacking with by-ref arguments
|
H A D | traversable_with_by_ref_parameters.phpt | 6 function test($val1, $val2, $val3, &$ref) { 7 $ref = 42;
|
/php-src/Zend/tests/arrow_functions/ |
H A D | 006.phpt | 9 $ref =& $id($var); 10 $ref++;
|
/php-src/Zend/tests/attributes/ |
H A D | 001_placement.phpt | 28 $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 D | 003_ast_nodes.phpt | 14 $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 D | 005_objects.phpt | 21 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 D | 006_filter.phpt | 6 $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 D | 011_inheritance.phpt | 24 $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 D | 013_class_scope.phpt | 19 $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 D | 017_closure_scope.phpt | 21 $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 D | 020_userland_attribute_validation.phpt | 9 $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 D | 027_trailing_comma_args.phpt | 14 $ref = new \ReflectionClass(Foo::class); 15 $attr = $ref->getAttributes()[0];
|
H A D | 028_grouped.phpt | 27 foreach ($sources as $ref) { 28 $attr = $ref->getAttributes(); 29 var_dump(get_class($ref), count($attr));
|
Completed in 108 milliseconds
12345678910>>...16