note 110952 added to function.strstr

From: Date: Fri, 28 Dec 2012 18:01:53 +0000
Subject: note 110952 added to function.strstr
Groups: php.notes 
Request: Send a blank email to php-notes+get-192697@lists.php.net to get a copy of this message
If you want only to verify if a string contains another string just compare with a simple equal '=' <?php $MainString = "For simple purposes" $SearchString = "pur"; if ($SearchString = $MainString) { } ?> ---- Server IP: 91.118.111.7 Probable Submitter: 62.178.196.52 ---- Manual Page -- http://php.net/manual/en/function.strstr.php Edit -- https://master.php.net/note/edit/110952 Del: integrated -- https://master.php.net/note/delete/110952/integrated Del: useless -- https://master.php.net/note/delete/110952/useless Del: bad code -- https://master.php.net/note/delete/110952/bad+code Del: spam -- https://master.php.net/note/delete/110952/spam Del: non-english -- https://master.php.net/note/delete/110952/non-english Del: in docs -- https://master.php.net/note/delete/110952/in+docs Del: other reasons-- https://master.php.net/note/delete/110952 Reject -- https://master.php.net/note/reject/110952 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192697) next »