PHP 7.4.24 Released!

生成器反射类

(PHP 7, PHP 8)

简介

ReflectionGenerator类用于获取生成器的信息。

类摘要

class ReflectionGenerator {
/* 方法 */
public getExecutingFile(): string
public getExecutingLine(): int
public getThis(): ?object
public getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array
}

目录

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top