Re: PHP class class Usage Summary
1, instanceof keyword: to analyze whether an object is an instance or subclass of a class or to implement a specific interface: the following example, but pay attention: the class name does not have any quotes and other delimiters, otherwise it will go wrong. For example, test can't use 'test'
class test2{}
class test{}
class testChilern Extends test{}
$a =;