blob: 43e32d2116e09ee3dec17c94e01383a7f3472817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--TEST--
Reflection Bug #29828 (Interfaces no longer work)
--FILE--
<?php
interface Bla
{
function bla();
}
class BlaMore implements Bla
{
function bla()
{
echo "Hello\n";
}
}
$r = new ReflectionClass('BlaMore');
var_dump(count($r->getMethods()));
var_dump($r->getMethod('bla')->isConstructor());
var_dump($r->getMethod('bla')->isAbstract());
$o=new BlaMore;
$o->bla();
?>
===DONE===
--EXPECT--
int(1)
bool(false)
bool(false)
Hello
===DONE===
|