Home
last modified time | relevance | path

Searched refs:ref (Results 26 – 50 of 249) sorted by relevance

12345678910

/PHP-7.4/Zend/tests/
H A Dforeach_009.phpt7 foreach ($a as &$ref) {
9 echo "$ref-$ref2\n";
10 if ($ref == 5 && $ref2 == 6) {
H A Dbug55305.phpt2 Bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o instantiating)
H A Dbug63762.phpt7 $ref = new ReflectionProperty($e, 'trace');
8 $ref->setAccessible(TRUE);
11 $ref->setValue($e, array(NULL));
16 $ref->setValue($e, array(array()));
20 $ref->setValue($e, array(array(
H A Dbug72543_4.phpt6 $ref =& $arr[0];
7 unset($ref);
H A Dbug72543_1.phpt7 $ref =& $arr[0];
8 unset($ref);
H A Dbug72543_2.phpt7 $ref =& $arr[0];
8 unset($ref);
/PHP-7.4/ext/reflection/tests/
H A Dbug79062.phpt20 $ref = new \ReflectionClass(BugReportMailrcConfigTests::class);
21 $s1 = $ref->getProperty('s1');
24 $s2 = $ref->getProperty('s2');
27 $s3 = $ref->getProperty('s3');
H A Dbug63399.phpt25 $ref = new ReflectionClass('MyClass');
27 print_r($ref->getTraitAliases());
28 print_r($ref->getTraits());
H A Dbug70960.phpt6 $ref = new ReflectionFunction('array_unique');
7 var_dump(count($ref->getParameters()));
/PHP-7.4/ext/opcache/tests/
H A Dbug78034.phpt8 function &ref() {}
13 $this->foo = &ref();
16 $this->foo = &ref();
/PHP-7.4/tests/lang/
H A DpassByReference_005.phpt10 function r(&$ref) {
11 $ref = "Ref changed";
20 function vr($val, &$ref) {
22 $ref = "Ref changed";
25 function rv(&$ref, $val) {
27 $ref = "Ref changed";
40 $ref = "Ref changed";
47 function r(&$ref) {
48 $ref = "Ref changed";
58 $ref = "Ref changed";
[all …]
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_083.phpt42 $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 Dtyped_properties_096.phpt13 $ref =& $test->prop2;
15 $test->prop =& $ref;
28 $ref =& $test->prop2;
29 $test->prop =& $ref;
H A Dtyped_properties_023.phpt5 function &ref() {
29 var_dump(Foo::$i = ref());
31 var_dump(Foo::$s = ref());
33 var_dump(ref());
H A Dtyped_properties_093.phpt2 Typed property assignment by ref with variable name
17 $ref = "foobar";
19 $test->$name =& $ref;
H A Dtyped_properties_092.phpt6 function &ref(&$foo) {
16 $ref =& $array;
22 $this->prop2 = ref($str);
H A Dtyped_properties_108.phpt13 $ref =& $test->i;
17 } catch (Exception $ref) {
25 $ref =& $test->s;
29 } catch (Exception $ref) {
/PHP-7.4/ext/standard/tests/strings/
H A Dstr_replace_array_refs.phpt8 $ref = &$data;
9 $b = &$ref['a'];
10 $numeric = &$ref['numeric'];
/PHP-7.4/ext/gd/libgd/
H A Dgdtest.c22 gdImagePtr im, ref, im2, im3; in main() local
47 ref = gdImageCreateFromPng (in); in main()
53 CompareImages ("Initial Versions", ref, im); in main()
73 CompareImages ("GD->PNG File->GD", ref, im2); in main()
82 CompareImages ("GD->PNG ptr->GD", ref, im2); in main()
117 CompareImages ("GD->GD2 ptr->GD", ref, im2); in main()
140 CompareImages ("GD->GD File->GD", ref, im2); in main()
152 CompareImages ("GD->GD ptr->GD", ref, im2); in main()
174 CompareImages ("GD Source", ref, im2); in main()
199 CompareImages ("GD Sink", ref, im2); in main()
[all …]
/PHP-7.4/ext/standard/tests/serialize/
H A Dserialization_objects_004.phpt17 $ref = &$x;
21 $ref = &$x;
25 $ref = &$x;
29 $ref = &$x;
33 $ref = &$x;
37 $ref = &$x;
/PHP-7.4/ext/xml/tests/
H A Dbug30875.phpt12 <!ENTITY ref "ent">
14 <elt att="&ref;">a&ref;</elt>
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_watch.h67 zend_refcounted *ref; member
73 zend_refcounted *ref; /* key to fetch the collision on parents */ member
79 zend_refcounted ref; member
86 phpdbg_watchpoint_t ref; member
103 zend_refcounted ref; member
/PHP-7.4/ext/spl/tests/
H A Dfixedarray_001.phpt29 $ref = "value4";
30 $ref2 =&$ref;
31 $a[4] = $ref;
32 $ref = "value5";
/PHP-7.4/Zend/
H A Dzend_variables.h42 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-7.4/ext/standard/tests/array/
H A Dbug70910.phpt6 $ref =& $var;
11 var_dump($var === $ref);

Completed in 36 milliseconds

12345678910