ReflectionFunctionAbstract クラス

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

はじめに

ReflectionFunction の親クラスです。 詳細はこのクラスの説明を参照ください。

クラス概要

abstract class ReflectionFunctionAbstract implements Reflector {
/* プロパティ */
public string $name;
/* メソッド */
private __clone(): void
public getAttributes(?string $name = null, int $flags = 0): array
public getEndLine(): int|false
public getName(): string
public inNamespace(): bool
public isClosure(): bool
public isDeprecated(): bool
public isGenerator(): bool
public isInternal(): bool
public isStatic(): bool
public isVariadic(): bool
abstract public __toString(): void
}

プロパティ

name

関数名。読み込み専用で、書き込もうとすると ReflectionException をスローします。

目次

add a note

User Contributed Notes

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant