php-src/tests/classes/bug24445.phpt
Ilia Alshanetsky 4d349926ff Fixed some test names.
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00

13 lines
240 B
PHP

--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)