ReflectionClass::newInstanceArgs

(PHP 5 >= 5.1.3, PHP 7) Creates a new class instance from given arguments. public object ReflectionClass::newInstanceArgs ([ array $args ] ) Creates a new instance of the class, the given arguments are passed to the class constructor. Parameters: args The parameters to be passed to the class constructor as an array. Returns: Returns a new inst

ReflectionClass::newInstance

(PHP 5, PHP 7) Creates a new class instance from given arguments. public object ReflectionClass::newInstance ( mixed $args [, mixed $... ] ) Creates a new instance of the class. The given arguments are passed to the class constructor. Parameters: args Accepts a variable number of arguments which are passed to the class constructor, much like call_user_func().

ReflectionClass::isUserDefined

(PHP 5, PHP 7) Checks if user defined public bool ReflectionClass::isUserDefined ( void ) Checks whether the class is user-defined, as opposed to internal. Returns: Returns TRUE on success or FALSE on failure. See also: ReflectionClass::isInternal() -

ReflectionClass::isTrait

(PHP >= 5.4.0) Returns whether this is a trait public bool ReflectionClass::isTrait ( void ) Returns: Returns TRUE if this is a trait, FALSE otherwise. Returns NULL in case of an error. This function is currently not documented; only its argument list is available.

ReflectionClass::isSubclassOf

(PHP 5, PHP 7) Checks if a subclass public bool ReflectionClass::isSubclassOf ( string $class ) Checks if the class is a subclass of a specified class or implements a specified interface. Parameters: class The class name being checked against. Returns: Returns TRUE on success or FALSE on failure.

ReflectionClass::isIterateable

(PHP 5, PHP 7) Checks if iterateable public bool ReflectionClass::isIterateable ( void ) Checks whether the class is iterateable. Returns: Returns TRUE on success or FALSE on failure. Examples: ReflectionClass::isIterateable() example <?php class IteratorClass implements Iterator {     public function __construct() { 

ReflectionClass::isInternal

(PHP 5, PHP 7) Checks if class is defined internally by an extension, or the core public bool ReflectionClass::isInternal ( void ) Checks if the class is defined internally by an extension, or the core, as opposed to user-defined. Returns: Returns TRUE on success or FALSE on failure. Examples: Basic usage of ReflectionClass::isInternal

ReflectionClass::isInterface

(PHP 5, PHP 7) Checks if the class is an interface public bool ReflectionClass::isInterface ( void ) Checks whether the class is an interface. Returns: Returns TRUE on success or FALSE on failure. Examples: Basic usage of ReflectionClass::isInterface() <?php interface SomeInterface {     public function interfaceMethod

ReflectionClass::isInstantiable

(PHP 5, PHP 7) Checks if the class is instantiable public bool ReflectionClass::isInstantiable ( void ) Checks if the class is instantiable. Returns: Returns TRUE on success or FALSE on failure. Examples: ReflectionClass::isInstantiable() example <?php class C { } interface iface {     function f1(); } class ifaceImp

ReflectionClass::isInstance

(PHP 5, PHP 7) Checks class for instance public bool ReflectionClass::isInstance ( object $object ) Checks if an object is an instance of a class. Parameters: object The object being compared to. Returns: Returns TRUE on success or FALSE on failure. Examples: ReflectionClass::isInstan