Name

interface_exists

Synopsis

bool interface_exists(stringname [, bool autoload_interface])

Returns true if an interface named name has been defined and false otherwise. By default, the function will call __autoload() on the interface; if autoload_interface is set and is false, __autoload() will not be called.

Get Programming PHP, 3rd 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.