note 92621 added to function.return

From: Date: Fri, 31 Jul 2009 15:23:19 +0000
Subject: note 92621 added to function.return
Groups: php.notes 
Request: Send a blank email to php-notes+get-158968@lists.php.net to get a copy of this message
NB: using return to exit a command-line script will not use the return value as the script's return value. To do that, you need to use, eg, exit(1); ---- Server IP: 87.124.35.190 Probable Submitter: 78.86.201.142 ---- Manual Page -- http://www.php.net/manual/en/function.return.php Edit -- https://master.php.net/note/edit/92621 Del: integrated -- https://master.php.net/note/delete/92621/integrated Del: useless -- https://master.php.net/note/delete/92621/useless Del: bad code -- https://master.php.net/note/delete/92621/bad+code Del: spam -- https://master.php.net/note/delete/92621/spam Del: non-english -- https://master.php.net/note/delete/92621/non-english Del: in docs -- https://master.php.net/note/delete/92621/in+docs Del: other reasons-- https://master.php.net/note/delete/92621 Reject -- https://master.php.net/note/reject/92621 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158968) next »