get_class

get_class

Listening Video

The get_class() function will return the class name that an object is an instance of.
<?php include_once("class1.php"); $myObj = new class1(); echo "<h2>".get_class($myObj)."</h2>"; ?>

0 Response to "get_class"

Post a Comment