Fixed PHP-836: Fix more for-type tests after finding with hash_find.