mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
4d349926ff
Removed extraneous \r from a number of tests.
13 lines
240 B
PHP
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)
|