FULL STACK   ·   UI   ·   UX   ·   GRAPHICS   ·   DEVELOPER   ·   INSTRUCTOR

Adam Khoury

Donate funds to show love and support

Click the button below to donate funds securely online. You can use your PayPal account or a credit card.

Your donations help free up my time to produce more content and assist in covering server costs. It's also a great way to say thanks for the content!

Application Configuration

Adam will be adding options here soon.

Using the get_declared_classes Function

Published :
Author :
Adam Khoury
The get_declared_classes() function will return an array that contains the names of all classes, subclasses, and predefined classes declared in your script. <?php include_once("class1.php"); include_once("class2.php"); $classArray = get_declared_classes(); foreach($classArray as $k => $v){ echo "<h3>$k = $v</h3>"; } ?>