Find the line where a loose check misinterprets a valid index of 0 as 'not found'.
Searching for an item that happens to be at index 0 is incorrectly treated as 'item not found'.
Ready to try it?
Create a free account and subscribe to take "Fix an array_search() Falsy Result Bug". Earn 120 XP and track your internship progress.
Already have an account? Sign in