trait_exists(3) php man page | unix.com

Man Page: trait_exists

Operating Environment: php

Section: 3

TRAIT_EXISTS(3) 							 1							   TRAIT_EXISTS(3)

trait_exists - Checks if the trait exists

SYNOPSIS
bool trait_exists (string $traitname, [bool $autoload])
DESCRIPTION
PARAMETERS
o $traitname - Name of the trait to check o $autoload - Whether to autoload if not already loaded.
RETURN VALUES
Returns 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
class_implements(3) - php
file_exists(3) - php
class_exists(3) - php
class_parents(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!