View Single Post
Old 06-25-2009, 01:59 PM   #1 (permalink)
tech
The Wanderer
 
Join Date: Jun 2009
Posts: 20
Thanks: 2
tech is on a distinguished road
Default need a built in function in php which work same as isinstance function of python

dear all..
any one please tell me which function in php work same as isinstance function of php and how to use it.

isinstance(object, classinfo):
Return true if the object argument is an instance of the classinfo argument, or of a (direct or indirect) subclass thereof. Also return true if classinfo is a type object and object is an object of that type.
thanks
tech is offline  
Reply With Quote