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