Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get class name from object php

// create an object
$bar = new foo();

// external call
echo "Its name is " , get_class($bar) , "
";
 
PREVIOUS NEXT
Tagged: #class #object #php
ADD COMMENT
Topic
Name
5+1 =