summaryrefslogtreecommitdiff
path: root/tests/classes/bug24445.phpt
blob: af08307ac464c5b958fe8e87786e3c6fbec0b0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #24445 (get_parent_class() returns the current class when passed an object)
--FILE--
<?php
class Test { }
var_dump(get_parent_class('Test'));
$t = new Test;
var_dump(get_parent_class($t));
?>
--EXPECT--
bool(false)
bool(false)