1--TEST--
2ReflectionClass::getParentClass()
3--CREDITS--
4Michelangelo van Dam <dragonbe@gmail.com>
5#testfest roosendaal on 2008-05-10
6--FILE--
7<?php
8
9class Foo {}
10
11class Bar extends Foo {}
12
13$rc1 = new ReflectionClass("Bar");
14var_dump($rc1->getParentClass());
15?>
16
17--EXPECTF--
18object(ReflectionClass)#%d (1) {
19  ["name"]=>
20  string(3) "Foo"
21}
22