mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
22 lines
592 B
PHP
22 lines
592 B
PHP
--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==
|