PHP 8.5.0 Beta 3 available for testing

ReflectionConstant ใ‚ฏใƒฉใ‚น

(PHP 8 >= 8.4.0)

ใฏใ˜ใ‚ใซ

ReflectionConstant ใ‚ฏใƒฉใ‚นใฏใ€ใ‚ฐใƒญใƒผใƒใƒซๅฎšๆ•ฐใซ้–ขใ™ใ‚‹ๆƒ…ๅ ฑใ‚’ๅ ฑๅ‘Šใ—ใพใ™ใ€‚

ใ‚ฏใƒฉใ‚นๆฆ‚่ฆ

final class ReflectionConstant implements Reflector {
/* ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃ */
public string $name;
/* ใƒกใ‚ฝใƒƒใƒ‰ */
public __construct(string $name)
public getName(): string
public getValue(): mixed
public isDeprecated(): bool
public __toString(): string
}

ใƒ—ใƒญใƒ‘ใƒ†ใ‚ฃ

name
ๅฎšๆ•ฐใฎๅๅ‰ใ€‚่ชญใฟๅ–ใ‚Šๅฐ‚็”จใงใ™ใ€‚ ๆ›ธใ่พผใ‚‚ใ†ใจใ™ใ‚‹ใจ ReflectionException ใŒใ‚นใƒญใƒผใ•ใ‚Œใพใ™ใ€‚

ๅ‚่€ƒ

็›ฎๆฌก

๏ผ‹add a note

User Contributed Notes

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