:: Σαν Σήμερα
1939:
Ιδρύεται η Εθνική Ακαδημία Σωματικής Αγωγής

1959:
Αναχωρεί από τον Πειραιά για την Κορέα το ελληνικό εκστρατευτικό σώμα, προκειμένου να ενταχθεί στις δυνάμεις του ΟΗΕ, που προσπαθούν να αποτρέψουν την κατάληψη της Ν. Κορέας από τα βορειοκορεατικά και τα κινεζικά στρατεύματα

1993:
Ο Κληρίδης και ο Παπανδρέου αποφασίζουν στην Αθήνα για τη δημιουργία του δόγματος του ενιαίου αμυντικού χώρου Ελλάδας και Κύπρου.










class_implements

class_implements

(PHP 5)

class_implements --  Return the interfaces which are implemented by the given class

Description

array class_implements ( mixed class [, bool autoload] )

This function returns an array with the names of the interfaces that the given class implements.

Parameters

class

An object (class instance) or a string (class name).


Return Values

Returns an array or FALSE on error.

ChangeLog

Version Description
5.1.0 Added the option to pass the parameter as a string

Examples

Example 1. class_implements() example

<?php

interface foo
{ }
class
bar implements foo {}

print_r(class_implements(new bar));

?>

The above example will output:

Array
(
    [foo] => foo
)

See Also

class_parents()