Name
is_a
Synopsis
bool is_a(objectobject
, string class)
Returns true
if
object
is of the class class
, or if its class has class
as one of its parents; otherwise,
returns false
.
Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.