No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

ReflectionClass::isAbstract

(PHP 5, PHP 7)

ReflectionClass::isAbstractChecks if class is abstract

Description

public ReflectionClass::isAbstract ( void ) : bool

Checks if the class is abstract.

PHP: ReflectionClass::isAbstract - Manual Home of Manuel PHP  Contents Haut

Parameters

This function has no parameters.

PHP: ReflectionClass::isAbstract - Manual Home of Manuel PHP  Contents Haut

Return Values

Returns TRUE on success or FALSE on failure.

PHP: ReflectionClass::isAbstract - Manual Home of Manuel PHP  Contents Haut

Examples

Example #1 ReflectionClass::isAbstract() example

<?php
class          TestClass { }
abstract class 
TestAbstractClass { }

$testClass     = new ReflectionClass('TestClass');
$abstractClass = new ReflectionClass('TestAbstractClass');

var_dump($testClass->isAbstract());
var_dump($abstractClass->isAbstract());
?>

The above example will output:

bool(false)
bool(true)

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph