درس قبلی
Nullable and Void Types

Nullable and Void Types

Nullable and Void Types

قسمت 3
درس بعدی

درباره این درس

Nullable and void types are both new to PHP 7.1. Should you desire to, you may now mark a typehint or return type as being nullable, simply by prefixing it with a question mark. This indicates that you expect either the given type, or null. Additionally, the ability to specify a void return type is now available.
دیدگاه های کاربران

× در حال پاسخ به: