Home
last modified time | relevance | path

Searched refs:ref2 (Results 1 – 20 of 20) sorted by relevance

/php-src/tests/lang/
H A DpassByReference_006.phpt6 function refs(&$ref1, &$ref2) {
8 $ref2 = "Ref2 changed";
14 function __construct(&$ref1, &$ref2) {
16 $ref2 = "Ref2 changed";
19 function refs(&$ref1, &$ref2) {
21 $ref2 = "Ref2 changed";
24 static function static_refs(&$ref1, &$ref2) {
26 $ref2 = "Ref2 changed";
H A DpassByReference_005.phpt29 function rr(&$ref1, &$ref2) {
31 $ref2 = "Ref2 changed";
64 function rr(&$ref1, &$ref2) {
66 $ref2 = "Ref2 changed";
92 static function static_rr(&$ref1, &$ref2) {
94 $ref2 = "Ref2 changed";
/php-src/ext/standard/tests/serialize/
H A Dcounting_of_references.phpt7 $ref2 = 2;
9 $arr = [&$ref1, &$ref1, &$ref2, &$ref2];
H A Dserialization_objects_005.phpt38 $ref2 = "ref1.original";
39 $incomplete->p = &$ref2;
44 $ref2 = "ref1.changed";
/php-src/Zend/tests/foreach/
H A Dforeach_009.phpt8 foreach ($a as &$ref2) {
9 echo "$ref-$ref2\n";
10 if ($ref == 5 && $ref2 == 6) {
/php-src/Zend/tests/
H A Dcall_user_func_008.phpt6 function test(&$ref1, &$ref2) {
8 $ref2 -= 42;
30 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
37 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
44 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
51 Warning: test(): Argument #2 ($ref2) must be passed by reference, value given in %s on line %d
H A Dfalsetoarray.phpt23 $ref2 = &$ref;
24 $ref2[] = 42;
/php-src/ext/reflection/tests/
H A Dbug30961.phpt14 $ref2 = new ReflectionClass('b');
16 echo $ref2->getStartLine() . "\n";
H A DReflectionReference.phpt9 $ref2 =& $ary[2];
/php-src/ext/mbstring/tests/
H A Dgh16261.phpt14 $ref2 = "world";
15 $ref3 = [&$ref2];
/php-src/Zend/tests/restrict_globals/
H A Dvalid.phpt30 $ref2 =& $GLOBALS['x'];
31 $ref2++;
/php-src/Zend/tests/arg_unpack/
H A Dby_ref.phpt24 function test2($val1, &$ref1, $val2, &$ref2) {
26 $ref2++;
/php-src/ext/ldap/tests/
H A Dldap_next_reference_basic.phpt28 var_dump($ref2 = ldap_next_reference($link, $ref));
29 ldap_parse_reference($link, $ref2, $refs);
/php-src/ext/opcache/tests/jit/
H A Dassign_002.phpt14 $ref2 =& $ref1;
/php-src/ext/soap/tests/bugs/
H A Dbug37013.phpt56ref2" xsi:type="SOAP-ENC:Struct"><parent xsi:nil="true"/><id xsi:type="xsd:int">1</id><children SO…
/php-src/ext/dom/tests/delayed_freeing/
H A Dentity_declaration.phpt17 $ref2 = $doc->createEntityReference("myimage");
/php-src/ext/spl/tests/
H A Dfixedarray_001.phpt30 $ref2 =&$ref;
H A Dfixedarray_002.phpt57 $ref2 =&$ref;
/php-src/ext/opcache/jit/
H A Dzend_jit_ir.c1818 ref2 = jit_Z_PTR_ref(jit, ref2); in jit_ZVAL_PTR_DTOR()
4901 ref2 = ir_ADD_OFFSET(ref2, offsetof(zend_reference, val)); in zend_jit_inc_dec()
6099 ref2 = ir_ADD_OFFSET(ref2, offsetof(zend_reference, val)); in zend_jit_assign_op()
6486 ref2 = ir_ADD_OFFSET(ref2, offsetof(zend_reference, val)); in zend_jit_assign_to_variable()
7813 ref2 = ir_IF(ref2); in zend_jit_defined()
7814 ir_IF_TRUE(ref2); in zend_jit_defined()
7829 ir_IF_FALSE(ref2); in zend_jit_defined()
7842 ref2 = ir_IF(ref2); in zend_jit_defined()
7843 ir_IF_TRUE(ref2); in zend_jit_defined()
9485 ir_ref ref, ref2; local
[all …]
/php-src/ext/dom/tests/
H A DDOMNode_isEqualNode.phpt117 var_dump((new DOMEntityReference("ref"))->isEqualNode(new DOMEntityReference("ref2")));

Completed in 58 milliseconds