Movatterモバイル変換


[0]ホーム

URL:


PHP 8.5.0 Alpha 2 available for testing
    Singleton types »
    « Never

    Relative class types

    These types declarations can only be used within classes.

    self

    The value must be aninstanceof the same class as the one in which the type declaration is used.

    parent

    The value must be aninstanceof a parent of the class in which the type declaration is used.

    static

    static is a return-only type which requires that the value returned must be aninstanceof the same class as the one the method is called in. Available as of PHP 8.0.0.

    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