⊗ppOpFnCCI 60 of 107 menu

Function for Checking Class Inheritance in OOP in PHP

is_subclass_of

Make a class ChildClass inheriting from ParentClass, which in turn inherits from GrandParentClass.

Using the is_subclass_of function, check if the class ChildClass is a descendant of GrandParentClass.

Using the is_subclass_of function, check if the class ParentClass is a descendant of GrandParentClass.

Using the is_subclass_of function, check if the class ChildClass is a descendant of ParentClass.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline