1--TEST-- 2ReflectionClass::isSubclassOf() - non-existent class error 3--FILE-- 4<?php 5class A {} 6$rc = new ReflectionClass('A'); 7 8var_dump($rc->isSubclassOf('X')); 9 10?> 11--EXPECTF-- 12Fatal error: Uncaught ReflectionException: Class X does not exist in %s:5 13Stack trace: 14#0 %s(5): ReflectionClass->isSubclassOf('X') 15#1 {main} 16 thrown in %s on line 5 17