note 30490 rejected from function.strncmp by betz

From: Date: Thu, 20 Mar 2003 13:44:12 +0000
Subject: note 30490 rejected from function.strncmp by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-45546@lists.php.net to get a copy of this message
I'm using strncmp to compare strings but some of the strings contain the & character when strncmp finds such character it gives <0 or 0> even if the string is equal to the other string instead of 0. Is there a way to solve this?

« previous php.notes (#45546) next »