1--TEST--
2Testing get_parent_class()
3--FILE--
4<?php
5
6interface ITest {
7	function foo();
8}
9
10abstract class bar implements ITest {
11	public function foo() {
12		var_dump(get_parent_class());
13	}
14}
15
16class foo extends bar {
17	public function __construct() {
18		var_dump(get_parent_class());
19	}
20}
21
22$a = new foo;
23$a->foo();
24
25?>
26--EXPECT--
27string(3) "bar"
28bool(false)
29