note 97424 added to function.strncmp

From: Date: Mon, 19 Apr 2010 12:25:33 +0000
Subject: note 97424 added to function.strncmp
Groups: php.notes 
Request: Send a blank email to php-notes+get-168395@lists.php.net to get a copy of this message
if length is 0 regardless what the two strings are, it will return 0 strncmp("xybc","a3234",0); // 0 strncmp("blah123","hohoho", 0); //0 ---- Server IP: 192.41.40.227 Probable Submitter: 98.198.217.142 ---- Manual Page -- http://www.php.net/manual/en/function.strncmp.php Edit -- https://master.php.net/note/edit/97424 Del: integrated -- https://master.php.net/note/delete/97424/integrated Del: useless -- https://master.php.net/note/delete/97424/useless Del: bad code -- https://master.php.net/note/delete/97424/bad+code Del: spam -- https://master.php.net/note/delete/97424/spam Del: non-english -- https://master.php.net/note/delete/97424/non-english Del: in docs -- https://master.php.net/note/delete/97424/in+docs Del: other reasons-- https://master.php.net/note/delete/97424 Reject -- https://master.php.net/note/reject/97424 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#168395) next »