xref: /PHP-7.2/ext/reflection/tests/bug38194.phpt (revision 17ccbeec)
1--TEST--
2Reflection Bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the class itself)
3--FILE--
4<?php
5class ObjectOne { }
6
7$objectClass = new ReflectionClass('ObjectOne');
8var_dump($objectClass->isSubclassOf($objectClass));
9?>
10--EXPECT--
11bool(false)
12