/PHP-8.3/Zend/tests/type_declarations/ |
H A D | typed_properties_083.phpt | 42 $ref = &Foo::$a; 43 $ref[] = 3; 44 var_dump($ref); 46 $ref = &$a->p; 48 $ref[] = "bar"; 50 var_dump($ref); 53 $ref["baz"][] = "bar"; // indirect assign 55 var_dump($ref);
|
H A D | typed_properties_096.phpt | 13 $ref =& $test->prop2; 15 $test->prop =& $ref; 28 $ref =& $test->prop2; 29 $test->prop =& $ref;
|
H A D | typed_properties_023.phpt | 5 function &ref() { 29 var_dump(Foo::$i = ref()); 31 var_dump(Foo::$s = ref()); 33 var_dump(ref());
|
H A D | typed_properties_092.phpt | 6 function &ref(&$foo) { 16 $ref =& $array; 22 $this->prop2 = ref($str);
|
H A D | typed_properties_093.phpt | 2 Typed property assignment by ref with variable name 17 $ref = "foobar"; 19 $test->$name =& $ref;
|
H A D | typed_properties_108.phpt | 13 $ref =& $test->i; 17 } catch (Exception $ref) { 25 $ref =& $test->s; 29 } catch (Exception $ref) {
|
/PHP-8.3/Zend/tests/nullsafe_operator/ |
H A D | 031.phpt | 7 $ref =& $val; 8 var_dump($ref?->foo); 11 var_dump($ref?->foo);
|
/PHP-8.3/ext/ffi/tests/ |
H A D | weak_reference_001.phpt | 10 $ref = \WeakReference::create($ffi); 11 var_dump($ref->get() === $ffi); 13 var_dump($ref->get() === null);
|
H A D | weak_reference_003.phpt | 10 $ref = \WeakReference::create($ctype); 11 var_dump($ref->get() === $ctype); 13 var_dump($ref->get() === null);
|
/PHP-8.3/Zend/tests/ |
H A D | foreach_009.phpt | 7 foreach ($a as &$ref) { 9 echo "$ref-$ref2\n"; 10 if ($ref == 5 && $ref2 == 6) {
|
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 | bug73663_2.phpt | 5 function change(&$ref) { 6 $ref = range(1, 10); 15 Fatal error: Uncaught Error: change(): Argument #1 ($ref) could not be passed by reference in %s:%d
|
H A D | call_user_func_007.phpt | 6 function foo(&$ref) { $ref = 24; } 18 Warning: foo(): Argument #1 ($ref) must be passed by reference, value given in %s on line %d
|
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'); 15 Fatal error: Uncaught Exception: Foo\{closure}(): Argument #1 ($ref) must be passed by reference, v…
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | str_replace_array_refs.phpt | 8 $ref = &$data; 9 $b = &$ref['a']; 10 $numeric = &$ref['numeric'];
|
/PHP-8.3/ext/xml/tests/ |
H A D | bug30875.phpt | 10 <!ENTITY ref "ent"> 12 <elt att="&ref;">a&ref;</elt>
|
/PHP-8.3/ext/zend_test/tests/ |
H A D | attribute-promotion-parameter-only.phpt | 15 $ref = new ReflectionClass(AttrTest::class); 16 $attr = $ref->getConstructor()->getParameters()[0]->getAttributes(); 22 $attr = $ref->getProperty('param')->getAttributes();
|
H A D | attribute-promotion-property-only.phpt | 15 $ref = new ReflectionClass(AttrTest::class); 16 $attr = $ref->getConstructor()->getParameters()[0]->getAttributes(); 20 $attr = $ref->getProperty('param')->getAttributes();
|
/PHP-8.3/Zend/ |
H A D | zend_variables.h | 42 zend_refcounted *ref = Z_COUNTED_P(zval_ptr); in i_zval_ptr_dtor() local 43 if (!GC_DELREF(ref)) { in i_zval_ptr_dtor() 44 rc_dtor_func(ref); in i_zval_ptr_dtor() 46 gc_check_possible_root(ref); in i_zval_ptr_dtor()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_watch.h | 65 zend_refcounted *ref; member 71 zend_refcounted *ref; /* key to fetch the collision on parents */ member 77 zend_refcounted ref; member 84 phpdbg_watchpoint_t ref; member 101 zend_refcounted ref; member
|
/PHP-8.3/ext/dom/tests/ |
H A D | entity_reference_stale_02.phpt | 18 $ref = $dom->documentElement->firstChild; 19 $decl = $ref->firstChild; 21 $nodes = $ref->childNodes;
|
/PHP-8.3/ext/reflection/tests/ |
H A D | bug63399.phpt | 25 $ref = new ReflectionClass('MyClass'); 27 print_r($ref->getTraitAliases()); 28 print_r($ref->getTraits());
|
/PHP-8.3/Zend/tests/weakrefs/ |
H A D | gh10043-003.phpt | 14 $ref = WeakReference::create($map); 18 var_dump($ref->get()); 27 var_dump($ref->get());
|
H A D | gh10043-004.phpt | 14 $ref = WeakReference::create($map); 18 var_dump($ref->get()); 27 var_dump($ref->get());
|
/PHP-8.3/ext/spl/tests/ |
H A D | fixedarray_001.phpt | 29 $ref = "value4"; 30 $ref2 =&$ref; 31 $a[4] = $ref; 32 $ref = "value5";
|