#20681 [Opn]: array_search(:object, :array) fails

2002-12-05 Thread dparks
ID: 20681 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Win 2K SP3 PHP Version: 4.2.3 New Comment: Um, actually I was wrong about understanding. The code you poste

#20681 [Opn]: array_search(:object, :array) fails

2002-12-05 Thread dparks
7;t find the elements if you change the array_search() calls to in_array(). [2002-11-27 11:41:45] [EMAIL PROTECTED] array_search() does not seem to work when the needle is an object. Sample code: Output: Warning: Wrong da

#20681 [Opn]: array_search(:object, :array) fails

2002-11-27 Thread dparks
nge the array_search() calls to in_array(). [2002-11-27 11:41:45] [EMAIL PROTECTED] array_search() does not seem to work when the needle is an object. Sample code: Output: Warning: Wrong datatype for first argument in call to array_search in C:\dparks\Documents\html\tmp.php on

#20681 [Com]: array_search(:object, :array) fails

2002-11-27 Thread dparks
em to work when the needle is an object. Sample code: Output: Warning: Wrong datatype for first argument in call to array_search in C:\dparks\Documents\html\tmp.php on line 17 bool(false) Warning: Wrong datatype for first argument in call to array_search in C:\dparks\Documents\html\tm

#20681 [NEW]: array_search(:object, :array) fails

2002-11-27 Thread dparks
datatype for first argument in call to array_search in C:\dparks\Documents\html\tmp.php on line 17 bool(false) Warning: Wrong datatype for first argument in call to array_search in C:\dparks\Documents\html\tmp.php on line 20 bool(false) int(1) Environment: This is PHP 4.2.3 (binary from Zend