(PHP 5, PHP 7, PHP 8)
ReflectionExtension::getFunctions — Eklenti işlevlerini döndürür
Bu işlevin bağımsız değişkeni yoktur.
ReflectionFunction nesnelerinden oluşan bir ilişkisel dizi. İşlev isimleri anahtarlara yerleştirilir. Hiç işlev tanımlanmamışsa boş bir dizi döner.
Örnek 1 - ReflectionExtension::getFunctions() örneği
<?php
$dom = new ReflectionExtension('SimpleXML');
print_r($dom->getFunctions());
?>Yukarıdaki örnek şuna benzer bir çıktı üretir:
Array
(
[simplexml_load_file] => ReflectionFunction Object
(
[name] => simplexml_load_file
)
[simplexml_load_string] => ReflectionFunction Object
(
[name] => simplexml_load_string
)
[simplexml_import_dom] => ReflectionFunction Object
(
[name] => simplexml_import_dom
)
)