xref: /PHP-5.4/ext/reflection/tests/bug26695.phpt (revision 610c7fbe)
1--TEST--
2Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints)
3--FILE--
4<?php
5
6class Foo {
7}
8
9class Bar {
10  function demo(foo $f) {
11  }
12}
13
14$class = new ReflectionClass('bar');
15$methods = $class->getMethods();
16$params = $methods[0]->getParameters();
17
18$class = $params[0]->getClass();
19
20var_dump($class->getName());
21?>
22===DONE===
23--EXPECT--
24string(3) "Foo"
25===DONE===
26