xref: /PHP-7.3/tests/classes/bug24399.phpt (revision c3fddcab)
1--TEST--
2Bug #24399 (is_subclass_of() crashes when parent class doesn't exist)
3--FILE--
4<?php
5class dooh {
6    public $blah;
7}
8$d = new dooh;
9var_dump(is_subclass_of($d, 'dooh'));
10?>
11--EXPECT--
12bool(false)
13