Thread:Extension talk:Arrays/Bug in arraysearch?

Given the following:

These arraysearches:

arraysearch1: arraysearch1yesno: arraysearch2: arraysearch2yesno:

Will produce: arraysearch1: 1 arraysearch1yesno: yes arraysearch2: arraysearch2: arraysearch1yesno: -1

The last array search should produce "no" instead of -1. Is this a bug?

Badon 20:42, 14 December 2011 (UTC)