PHP: get_declared_interfaces - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

get_object_vars get_declared_classes

Last updated: Sat, 27 Jan 2007

view this page in

# get_declared_interfaces

(PHP 5)

get_declared_interfaces -- Возвращает массив всех объявленных в текущей итерации интерфейсов.

## Описание

array get_declared_interfaces ( void )

Функция возвращает массив имен объявленных в текущем скрипте интерфейсов.

Пример 1. Пример использования get_declared_interfaces()

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

Пример выведет что-то близкое к:

    Array
    (
        [0] => Traversable
        [1] => IteratorAggregate
        [2] => Iterator
        [3] => ArrayAccess
        [4] => reflector
        [5] => RecursiveIterator
        [6] => SeekableIterator
    )

add a note User Contributed Notes
get_declared_interfaces
There are no user contributed notes for this page.
get_object_vars get_declared_classes

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST