Movatterモバイル変換


[0]ホーム

URL:


PHP 8.5.0 Alpha 2 available for testing
    Iterables »
    « Relative class types

    Singleton types

    Singleton types are those which allow only one value. PHP has support for two singleton types:false as of PHP 8.0.0 andtrue as of PHP 8.2.0.

    Warning

    Prior to PHP 8.2.0 thefalse type could only be used as part of aunion type.

    Note: It is not possible to define custom singleton types. Consider using anenumerations instead.

    Found A Problem?

    Learn How To Improve This PageSubmit a Pull RequestReport a Bug
    add a note

    User Contributed Notes

    There are no user contributed notes for this page.
    To Top
    and to navigate •Enter to select •Esc to close
    PressEnter without selection to search using Google

    [8]ページ先頭

    ©2009-2025 Movatter.jp