note 123682 added to language.types.intro

From: Date: Mon, 11 Mar 2019 19:05:49 +0000
Subject: note 123682 added to language.types.intro
Groups: php.notes 
Request: Send a blank email to php-notes+get-210357@lists.php.net to get a copy of this message
The pseudo-type 'void' used for readability reasons at the beginning of a function prototype. It means its 'return type' must either omitted their return statement altogether, or used an empty return statement. However, NULL is not expected as a valid return value for a void function. <?php //This function has nothing to return (void) unset ( mixed $var [, mixed $... ] ) ?> ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.194 (proxied: 180.92.226.142) ---- Manual Page -- http://php.net/manual/en/language.types.intro.php Edit -- https://master.php.net/note/edit/123682 Del: integrated -- https://master.php.net/note/delete/123682/integrated Del: useless -- https://master.php.net/note/delete/123682/useless Del: bad code -- https://master.php.net/note/delete/123682/bad+code Del: spam -- https://master.php.net/note/delete/123682/spam Del: non-english -- https://master.php.net/note/delete/123682/non-english Del: in docs -- https://master.php.net/note/delete/123682/in+docs Del: other reasons-- https://master.php.net/note/delete/123682 Reject -- https://master.php.net/note/reject/123682 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#210357) next »