note 58696 deleted from function.strncmp by mazzanet
| From: | mazzanet@php.net | Date: | Sat, 12 Nov 2005 21:48:23 +0000 |
| Subject: | note 58696 deleted from function.strncmp by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98491@lists.php.net to get a copy of this message | ||
Note Submitter: balluche at free dot fr <Frédéric>
----
This function must preferably be used against the equivalent expression :
string1 == substr(string2, 0, len)
Because the last is inneficient as it creates another string in memory.