php-src/tests/classes/bug24445.phpt

13 lines
240 B
Plaintext
Raw Normal View History

2003-07-02 04:30:45 +00:00
--TEST--
Bug #24445 (get_parent_class() returns the current class when passed an object)
2003-07-02 04:30:45 +00:00
--FILE--
<?php
class Test { }
var_dump(get_parent_class('Test'));
$t = new Test;
var_dump(get_parent_class($t));
?>
--EXPECT--
bool(false)
bool(false)