Method | Description | |
---|---|---|
class_exists ( |
Tests whether a given class is defined.
|
|
interface_exists ( |
Tests whether a given interface is defined.
|
public static class_exists ( |
||
ctx | Current runtime context. | |
className | string | The name of the class. |
autoload | bool | Whether to attempt to call |
return | bool |
public static interface_exists ( |
||
ctx | Current runtime context. | |
ifaceName | string | The name of the interface. |
autoload | bool | Whether to attempt to call |
return | bool |