php man page for trait_exists

Query: trait_exists

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
isset(3) - php
extension_loaded(3) - php
defined(3) - php
method_exists(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun