note 36190 deleted from function.array-diff by didou

From: Date: Tue, 30 Sep 2003 07:40:49 +0000
Subject: note 36190 deleted from function.array-diff by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57378@lists.php.net to get a copy of this message
Note Submitter: info at hpad dot com ---- I was trying to filter a list of common words from some input. The common words were obtained using file($fileName) which returns an array for each line in the file leaves the newline attached. Had to iterate the array and remove the \n character from each array value

« previous php.notes (#57378) next »