note 77434 added to language.control-structures

From: Date: Wed, 29 Aug 2007 19:45:35 +0000
Subject: note 77434 added to language.control-structures
Groups: php.notes 
Request: Send a blank email to php-notes+get-129883@lists.php.net to get a copy of this message
Sinured: You can do the same thing with logical OR; if the first test is true, the second will never be executed. <?PHP if (empty($user_id) || in_array($user_id, $banned_list)) { exit(); } ?> ---- Server IP: 69.147.83.197 Probable Submitter: 64.241.236.203 ---- Manual Page -- http://www.php.net/manual/en/language.control-structures.php Edit -- https://master.php.net/note/edit/77434 Del: integrated -- https://master.php.net/note/delete/77434/integrated Del: useless -- https://master.php.net/note/delete/77434/useless Del: bad code -- https://master.php.net/note/delete/77434/bad+code Del: spam -- https://master.php.net/note/delete/77434/spam Del: non-english -- https://master.php.net/note/delete/77434/non-english Del: in docs -- https://master.php.net/note/delete/77434/in+docs Del: other reasons-- https://master.php.net/note/delete/77434 Reject -- https://master.php.net/note/reject/77434 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129883) next »