It's best to explain by an example. I look for a function "theFunctionILookFor" that will make the code work.
$myClassName = "someName";
$parentOrInterfaceName = "someParent";
if ( theFunctionILookFor ($myClassName)) echo "is parrent";
edit: Ben sadece bu denetimi gerçekleştirmek için sınıf başlatmasını önlemek için deneyin. Ben kontrol işlevine 2 dize parametreleri geçmek mümkün olmak istiyorum