blob: e3d2bac0fc0037654b2632bf68c99b2448cacbbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--TEST--
ReflectionParameter::export() without parameters
--CREDITS--
Stefan Koopmanschap <stefan@stefankoopmanschap.nl>
--FILE--
<?php
function ReflectionParameterTest($test, $test2 = null) {
echo $test;
}
$reflect = new ReflectionFunction('ReflectionParameterTest');
foreach($reflect->getParameters() as $key => $value) {
ReflectionParameter::export();
}
?>
==DONE==
--EXPECTF--
Warning: ReflectionParameter::export() expects at least 2 parameters, 0 given in %s.php on line %d
Warning: ReflectionParameter::export() expects at least 2 parameters, 0 given in %s.php on line %d
==DONE==
|