diff options
Diffstat (limited to 'ext/reflection/tests/bug33312.phpt')
-rwxr-xr-x | ext/reflection/tests/bug33312.phpt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ext/reflection/tests/bug33312.phpt b/ext/reflection/tests/bug33312.phpt deleted file mode 100755 index 0c38304094..0000000000 --- a/ext/reflection/tests/bug33312.phpt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -Bug #33312 (ReflectionParameter methods do not work correctly) ---FILE-- -<?php -class Foo { - public function bar(Foo $foo, $bar = 'bar') { - } -} - -$class = new ReflectionClass('Foo'); -$method = $class->getMethod('bar'); - -foreach ($method->getParameters() as $parameter) { - if ($parameter->isDefaultValueAvailable()) { - print $parameter->getDefaultValue()."\n"; - } -} -?> ---EXPECT-- -bar |