Get an array of all declared interfaces in PHP

Description

The following code shows how to get an array of all declared interfaces.

Example


/*w ww.ja va 2  s  .c o m*/
//get_declared_interfaces() example
<?php
print_r(get_declared_interfaces());
?>

The code above generates the following result.





















Home »
  PHP Tutorial »
    Development »




Environment
Error
Hash
Include
Locale
Math
Network
Output
Reflection
PHP Regular Expressions