Fixed PHP-836: Fix more for-type tests after finding with hash_find.
Merged pull request #456