Name

interface_exists

Synopsis

int 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, 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.