PHP get_declared_interfaces() function

Description

Returns an array of all declared interfaces.

Syntax

PHP get_declared_interfaces() function has the following syntax.

array get_declared_interfaces ( void )

Return Values

Returns an array of the names of the declared interfaces in the current script.

Example

Get all declared interfaces


<?php
print_r(get_declared_interfaces());
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Function reference »




PHP Array Functions
PHP Calendar Functions
PHP Class Functions
PHP Data Type Functions
PHP Date Functions
PHP File Functions
PHP Image Functions
PHP Math Functions
PHP MySQLi Functions
PHP SimpleXML Functions
PHP String Functions
PHP XML Functions
PHP Zip Functions