PHP.nl

Void

Laatst bijgewerkt:

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 a

declaration. Available as of PHP 7.1.0. voidunion type

Opmerking: > Even if a function has a return type of it will still return a value, this value is always null. void