note 17561 deleted from function.in-array by philip

From: Date: Sun, 23 Mar 2003 00:19:45 +0000
Subject: note 17561 deleted from function.in-array by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-45660@lists.php.net to get a copy of this message
After doing some testing I noticed that in_array() does not support comparison between two arrays. The needle needs to be a string, integer, or another non-array variable. I just thought this might be worth mentioning.

« previous php.notes (#45660) next »