TRAIT_EXISTS(3) 1 TRAIT_EXISTS(3) trait_exists - Checks if the trait existsSYNOPSISbool trait_exists (string $traitname, [bool $autoload])DESCRIPTIONPARAMETERSo $traitname - Name of the trait to check o $autoload - Whether to autoload if not already loaded.RETURN VALUESReturns TRUE if trait exists, FALSE if not, NULL in case of an error. PHP Documentation Group TRAIT_EXISTS(3)
| Related Man Pages |
|---|
| spl_autoload_register(3) - php |
| extension_loaded(3) - php |
| file_exists(3) - php |
| method_exists(3) - php |
| wincache_ucache_exists(3) - php |