Home
last modified time | relevance | path

Searched refs:fromArrayElement (Results 1 – 7 of 7) sorted by relevance

/php-src/ext/reflection/tests/
H A DReflectionReference.phpt12 echo "fromArrayElement():\n";
13 $r0 = ReflectionReference::fromArrayElement($ary, 0);
15 $r1 = ReflectionReference::fromArrayElement($ary, 1);
17 $r2 = ReflectionReference::fromArrayElement($ary, 2);
19 $r3 = ReflectionReference::fromArrayElement($ary, 3);
29 $r2_2 = ReflectionReference::fromArrayElement($ary2, 0);
30 $r3_2 = ReflectionReference::fromArrayElement($ary2, 1);
38 $r2 = ReflectionReference::fromArrayElement($ary, 2);
39 $r3 = ReflectionReference::fromArrayElement($ary, 3);
45 fromArrayElement():
H A DReflectionReference_errors.phpt13 ReflectionReference::fromArrayElement(new stdClass, "test");
19 ReflectionReference::fromArrayElement([], []);
26 ReflectionReference::fromArrayElement($ary, 3);
33 $ref = ReflectionReference::fromArrayElement($ary, 0);
47 ReflectionReference::fromArrayElement(): Argument #1 ($array) must be of type array, stdClass given
48 ReflectionReference::fromArrayElement(): Argument #2 ($key) must be of type string|int, array given
H A DReflectionReference_bug78263.phpt12 var_dump(ReflectionReference::fromArrayElement($b[0], 0));
/php-src/Zend/tests/
H A DbugGH-8655.phpt24 var_dump(ReflectionReference::fromArrayElement($arrayCast, 'foo'));
/php-src/ext/reflection/
H A Dphp_reflection.stub.php820 public static function fromArrayElement(array $array, int|string $key): ?ReflectionReference {} function in ReflectionReference
H A Dphp_reflection_arginfo.h953 ZEND_METHOD(ReflectionReference, fromArrayElement);
1295 …ZEND_ME(ReflectionReference, fromArrayElement, arginfo_class_ReflectionReference_fromArrayElement,…
H A Dphp_reflection.c6895 ZEND_METHOD(ReflectionReference, fromArrayElement) in ZEND_METHOD() argument

Completed in 40 milliseconds