mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
13 lines
206 B
PHP
13 lines
206 B
PHP
--TEST--
|
|
Bug #24399 (is_subclass_of() crashes when parent class doesn't exist)
|
|
--FILE--
|
|
<?php
|
|
class dooh {
|
|
public $blah;
|
|
}
|
|
$d = new dooh;
|
|
var_dump(is_subclass_of($d, 'dooh'));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|