array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'class.reflectionparameter.php', 1 => 'ReflectionParameter', ), 'up' => array ( 0 => 'book.reflection.php', 1 => 'Reflection', ), 'prev' => array ( 0 => 'reflectionobject.export.php', 1 => 'ReflectionObject::export', ), 'next' => array ( 0 => 'reflectionparameter.allowsnull.php', 1 => 'ReflectionParameter::allowsNull', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'reference/reflection/reflectionparameter.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.reflectionparameter.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
ReflectionParameter sınıfı işlev veya yöntemin bağımsız değişkenleri hakkında bilgi edinilmesini sağlar.
Bir işlevin bağımsız değişkenlerini incelemek için önce ReflectionFunction veya ReflectionMethod sınıfının bir örneğini oluşturmalı, sonra da bu sınıfların ReflectionFunctionAbstract::getParameters() yöntemini kullanarak bağımsız değişken dizisini almalısınız.
Bağımsız değişken ismi. Salt-okunur olup yazaöaya çalışılırsa bir ReflectionException yavrular.
Sürüm: | Açıklama |
---|---|
8.0.0 | ReflectionParameter::export() kaldırıldı. |