PHP: Hypertext Preprocessor (original) (raw)

Change language:

Void

void is a return-only type declaration indicating the function does not return a value, but the function may still terminate. Therefore, it cannot be part of aunion type declaration. Available as of PHP 7.1.0.

Note: Even if a function has a return type of void it will still return a value, this value is always [null](reserved.constants.php#constant.null).

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.