PHP 8.5.0 Beta 3 available for testing

ReflectionClassConstant::__construct

(PHP 7 >= 7.1.0, PHP 8)

ReflectionClassConstant::__construct โ€” ReflectionClassConstant ใ‚’ๆง‹็ฏ‰ใ™ใ‚‹

่ชฌๆ˜Ž

public ReflectionClassConstant::__construct(object|string $class, string $constant)

ๆ–ฐใ—ใ„ ReflectionClassConstant ใ‚’ๆง‹็ฏ‰ใ—ใพใ™ใ€‚

ใƒ‘ใƒฉใƒกใƒผใ‚ฟ

class

ใƒชใƒ•ใƒฌใ‚ฏใ‚ทใƒงใƒณใ™ใ‚‹ใ‚ฏใƒฉใ‚นๅใ‚’ๅซใ‚“ใ ๆ–‡ๅญ—ๅˆ—ใ‹ใ€object

constant

ใ‚ฏใƒฉใ‚นๅฎšๆ•ฐใฎๅๅ‰

ใ‚จใƒฉใƒผ / ไพ‹ๅค–

ไธŽใˆใ‚‰ใ‚ŒใŸใ‚ฏใƒฉใ‚นๅฎšๆ•ฐใŒๅญ˜ๅœจใ—ใชใ„ๅ ดๅˆใฏใ€Exception ใ‚’ใ‚นใƒญใƒผใ—ใพใ™ใ€‚

ๅ‚่€ƒ

๏ผ‹add a note

User Contributed Notes

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