svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-match.xml

From: Date: Sat, 15 Aug 2015 01:16:19 +0000
Subject: svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-match.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13585@lists.php.net to get a copy of this message
cmb Sat, 15 Aug 2015 01:16:19 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337467 Log: The page for strstr() recommends using strpos(). preg_match() should match this recommendation. -- Provided by anonymous 62208 (Liam Morland) Changed paths: U phpdoc/en/trunk/reference/pcre/functions/preg-match.xml Modified: phpdoc/en/trunk/reference/pcre/functions/preg-match.xml =================================================================== --- phpdoc/en/trunk/reference/pcre/functions/preg-match.xml 2015-08-15 00:44:00 UTC (rev 337466) +++ phpdoc/en/trunk/reference/pcre/functions/preg-match.xml 2015-08-15 01:16:19 UTC (rev 337467) @@ -306,8 +306,7 @@ <para> Do not use <function>preg_match</function> if you only want to check if one string is contained in another string. Use - <function>strpos</function> or <function>strstr</function> instead as - they will be faster. + <function>strpos</function> instead as it will be faster. </para> </tip> </refsect1>

« previous php.doc.cvs (#13585) next »