note 73775 added to tutorial.useful

From: Date: Fri, 09 Mar 2007 19:32:39 +0000
Subject: note 73775 added to tutorial.useful
Groups: php.notes 
Request: Send a blank email to php-notes+get-124274@lists.php.net to get a copy of this message
Just as we would say "If the sun is shining..." rather than "If it is not false that the sun is shining..", it is much more straightforward to write if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE')) rather than: if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) ---- Server IP: 69.147.83.197 Probable Submitter: 71.227.218.116 ---- Manual Page -- http://www.php.net/manual/en/tutorial.useful.php Edit -- https://master.php.net/note/edit/73775 Del: integrated -- https://master.php.net/note/delete/73775/integrated Del: useless -- https://master.php.net/note/delete/73775/useless Del: bad code -- https://master.php.net/note/delete/73775/bad+code Del: spam -- https://master.php.net/note/delete/73775/spam Del: non-english -- https://master.php.net/note/delete/73775/non-english Del: in docs -- https://master.php.net/note/delete/73775/in+docs Del: other reasons-- https://master.php.net/note/delete/73775 Reject -- https://master.php.net/note/reject/73775 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124274) next »