Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Errors
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
ReflectionFunctionAbstract::__clone »
« ReflectionFunction::__toString
PHP 手册
函数参考
变量与类型相关扩展
反射
Change language:
English
Brazilian Portuguese
Chinese (Simplified)
French
German
Japanese
Korean
Romanian
Russian
Spanish
Turkish
Other
Edit
Report a Bug
ReflectionFunctionAbstract 类
(PHP 5, PHP 7)
简介
ReflectionFunction
的父类,详情请阅读它的描述。
类摘要
ReflectionFunctionAbstract
implements
Reflector
{
/* 属性 */
public
$
name
;
/* 方法 */
final
private
void
__clone
(
void
)
public
ReflectionClass
getClosureScopeClass
(
void
)
public
object
getClosureThis
(
void
)
public
string
getDocComment
(
void
)
public
int
getEndLine
(
void
)
public
ReflectionExtension
getExtension
(
void
)
public
string
getExtensionName
(
void
)
public
string
getFileName
(
void
)
public
string
getName
(
void
)
public
string
getNamespaceName
(
void
)
public
int
getNumberOfParameters
(
void
)
public
int
getNumberOfRequiredParameters
(
void
)
public
array
getParameters
(
void
)
public
ReflectionType
getReturnType
(
void
)
public
string
getShortName
(
void
)
public
int
getStartLine
(
void
)
public
array
getStaticVariables
(
void
)
public
bool
hasReturnType
(
void
)
public
bool
inNamespace
(
void
)
public
bool
isClosure
(
void
)
public
bool
isDeprecated
(
void
)
public
bool
isGenerator
(
void
)
public
bool
isInternal
(
void
)
public
bool
isUserDefined
(
void
)
public
bool
isVariadic
(
void
)
public
bool
returnsReference
(
void
)
abstract
public
void
__toString
(
void
)
}
属性
name
函数的名称。只读,尝试赋值的时候将会抛出
ReflectionException
。
Table of Contents
ReflectionFunctionAbstract::__clone
— 复制函数
ReflectionFunctionAbstract::getClosureScopeClass
— Returns the scope associated to the closure
ReflectionFunctionAbstract::getClosureThis
— 返回本身的匿名函数
ReflectionFunctionAbstract::getDocComment
— 获取注释内容
ReflectionFunctionAbstract::getEndLine
— 获取结束行号
ReflectionFunctionAbstract::getExtension
— 获取扩展信息
ReflectionFunctionAbstract::getExtensionName
— 获取扩展名称
ReflectionFunctionAbstract::getFileName
— 获取文件名称
ReflectionFunctionAbstract::getName
— 获取函数名称
ReflectionFunctionAbstract::getNamespaceName
— 获取命名空间
ReflectionFunctionAbstract::getNumberOfParameters
— 获取参数数目
ReflectionFunctionAbstract::getNumberOfRequiredParameters
— 获取必须输入参数个数
ReflectionFunctionAbstract::getParameters
— 获取参数
ReflectionFunctionAbstract::getReturnType
— Gets the specified return type of a function
ReflectionFunctionAbstract::getShortName
— 获取函数短名称
ReflectionFunctionAbstract::getStartLine
— 获取开始行号
ReflectionFunctionAbstract::getStaticVariables
— 获取静态变量
ReflectionFunctionAbstract::hasReturnType
— Checks if the function has a specified return type
ReflectionFunctionAbstract::inNamespace
— 检查是否处于命名空间
ReflectionFunctionAbstract::isClosure
— 检查是否是匿名函数
ReflectionFunctionAbstract::isDeprecated
— 检查是否已经弃用
ReflectionFunctionAbstract::isGenerator
— 判断函数是否是一个生成器函数
ReflectionFunctionAbstract::isInternal
— 判断函数是否是内置函数
ReflectionFunctionAbstract::isUserDefined
— 检查是否是用户定义
ReflectionFunctionAbstract::isVariadic
— Checks if the function is variadic
ReflectionFunctionAbstract::returnsReference
— 检查是否返回参考信息
ReflectionFunctionAbstract::__toString
— 字符串化
add a note
User Contributed Notes
There are no user contributed notes for this page.