note 110954 added to function.strstr

From: Date: Fri, 28 Dec 2012 18:02:00 +0000
Subject: note 110954 added to function.strstr
Groups: php.notes 
Request: Send a blank email to php-notes+get-192699@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/110954 Del: integrated -- https://master.php.net/note/delete/110954/integrated Del: useless -- https://master.php.net/note/delete/110954/useless Del: bad code -- https://master.php.net/note/delete/110954/bad+code Del: spam -- https://master.php.net/note/delete/110954/spam Del: non-english -- https://master.php.net/note/delete/110954/non-english Del: in docs -- https://master.php.net/note/delete/110954/in+docs Del: other reasons-- https://master.php.net/note/delete/110954 Reject -- https://master.php.net/note/reject/110954 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192699) next »